Move common http tool code to http_common

This commit is contained in:
William Wennerström
2020-07-21 10:34:29 +02:00
parent 7a1eb730b1
commit 3d344cfeaa
7 changed files with 156 additions and 53 deletions

View File

@@ -45,6 +45,7 @@
#include <curl/curl.h>
#include "ui/win_types.h"
#include "tools/http_common.h"
typedef struct http_download_t
{
@@ -61,8 +62,4 @@ void* http_file_get(void* userdata);
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