about summary refs log tree commit diff stats
path: root/src/tools/http_upload.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/http_upload.h')
-rw-r--r--src/tools/http_upload.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/tools/http_upload.h b/src/tools/http_upload.h
index 60b1ea82..dc15b33f 100644
--- a/src/tools/http_upload.h
+++ b/src/tools/http_upload.h
@@ -40,29 +40,30 @@
 #define SOCKET int
 #endif
 
-#include <sys/select.h>
 #include <curl/curl.h>
+#include <sys/select.h>
 
 #include "ui/win_types.h"
 
-typedef struct http_upload_t {
-    char *filename;
+typedef struct http_upload_t
+{
+    char* filename;
     off_t filesize;
     curl_off_t bytes_sent;
-    char *mime_type;
-    char *get_url;
-    char *put_url;
-    ProfWin *window;
+    char* mime_type;
+    char* get_url;
+    char* put_url;
+    ProfWin* window;
     pthread_t worker;
     int cancel;
 } HTTPUpload;
 
-void* http_file_put(void *userdata);
+void* http_file_put(void* userdata);
 
 char* file_mime_type(const char* const file_name);
 off_t file_size(const char* const file_name);
 
-void http_upload_cancel_processes(ProfWin *window);
-void http_upload_add_upload(HTTPUpload *upload);
+void http_upload_cancel_processes(ProfWin* window);
+void http_upload_add_upload(HTTPUpload* upload);
 
 #endif