X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/3cc4e05c90c0df798726175c5a81776153631806..a31889935875a7d1d32c8dae2d6218d7938167f8:/src/http.h?ds=inline diff --git a/src/http.h b/src/http.h index 6544e745..d9aac4ab 100644 --- a/src/http.h +++ b/src/http.h @@ -21,8 +21,11 @@ #ifndef _VIKING_HTTP_H #define _VIKING_HTTP_H -/* TODO: convert to Glib */ -int a_http_download_get_url ( const char *hostname, const char *uri, const char *fn ); -int a_http_download_get_url_nohostname ( const char *hostname, const char *uri, const char *fn ); + +#include + +#include "download.h" + +int http_download_get_url ( const char *hostname, const char *uri, FILE *f, int already_redirected, DownloadOptions *options ); #endif