Refactor OMEMO download into AESGCMDownload tool

This commit is contained in:
William Wennerström
2020-07-20 22:49:50 +02:00
parent fb002a59b6
commit 73f313b921
12 changed files with 386 additions and 23 deletions

View File

@@ -54,6 +54,7 @@ typedef struct http_download_t
ProfWin* window;
pthread_t worker;
int cancel;
int close;
} HTTPDownload;
void* http_file_get(void* userdata);
@@ -62,5 +63,7 @@ void http_download_cancel_processes(ProfWin* window);
void http_download_add_download(HTTPDownload* download);
char* http_basename_from_url(const char* url);
void http_print_transfer_update(ProfWin* window, char* url,
const char* fmt, ...);
#endif