Don't expose upload_processes

That's actually not good practise.
Realized this when checking for multiple symbol definition in issue
mentioned below.

Regards https://github.com/profanity-im/profanity/issues/1314
This commit is contained in:
Michael Vetter
2020-04-17 10:05:09 +02:00
parent 00fc0e2e8d
commit 9be7d29f1b
4 changed files with 27 additions and 12 deletions

View File

@@ -57,11 +57,12 @@ typedef struct http_upload_t {
int cancel;
} HTTPUpload;
GSList *upload_processes;
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);
#endif