about summary refs log tree commit diff stats
path: root/src/tools/http_download.h
diff options
context:
space:
mode:
authorWilliam Wennerström <william@wstrm.dev>2020-07-20 13:01:05 +0200
committerWilliam Wennerström <william@wstrm.dev>2020-11-16 21:58:09 +0100
commit4711fc62a3d691d35400bc7316f9026c64227d51 (patch)
treec448799a2b86e184d5060cf4915376ce82fdfdb3 /src/tools/http_download.h
parenta0cf0844abeeffe83a13e438eff3c309bc9887e9 (diff)
downloadprofani-tty-4711fc62a3d691d35400bc7316f9026c64227d51.tar.gz
Run make format on rebase
Diffstat (limited to 'src/tools/http_download.h')
-rw-r--r--src/tools/http_download.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/tools/http_download.h b/src/tools/http_download.h
index 868b99f2..ba8b5023 100644
--- a/src/tools/http_download.h
+++ b/src/tools/http_download.h
@@ -46,20 +46,21 @@
 
 #include "ui/win_types.h"
 
-typedef struct http_download_t {
-    char *url;
-    FILE *filehandle;
+typedef struct http_download_t
+{
+    char* url;
+    FILE* filehandle;
     curl_off_t bytes_received;
-    ProfWin *window;
+    ProfWin* window;
     pthread_t worker;
     int cancel;
 } HTTPDownload;
 
-void* http_file_get(void *userdata);
+void* http_file_get(void* userdata);
 
-void http_download_cancel_processes(ProfWin *window);
-void http_download_add_download(HTTPDownload *download);
+void http_download_cancel_processes(ProfWin* window);
+void http_download_add_download(HTTPDownload* download);
 
-char *http_basename_from_url(const char *url);
+char* http_basename_from_url(const char* url);
 
 #endif