Add http_download tool

This commit is contained in:
William Wennerström
2020-07-02 22:04:21 +02:00
parent 362c6973de
commit 9499df6585
6 changed files with 293 additions and 6 deletions

View File

@@ -1390,7 +1390,7 @@ win_appendln_highlight(ProfWin* window, theme_item_t theme_item, const char* con
}
void
win_print_http_upload(ProfWin* window, const char* const message, char* url)
win_print_http_transfer(ProfWin *window, const char *const message, char *url)
{
win_print_outgoing_with_receipt(window, "!", NULL, message, url, NULL);
}

View File

@@ -72,7 +72,7 @@ void win_println_incoming_muc_msg(ProfWin* window, char* show_char, int flags, c
void win_print_outgoing_muc_msg(ProfWin* window, char* show_char, const char* const me, const char* const id, const char* const replace_id, const char* const message);
void win_print_history(ProfWin* window, const ProfMessage* const message);
void win_print_http_upload(ProfWin* window, const char* const message, char* url);
void win_print_http_transfer(ProfWin *window, const char *const message, char *url);
void win_newline(ProfWin* window);
void win_redraw(ProfWin* window);