X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/3cc4e05c90c0df798726175c5a81776153631806..700b0908d71f64c9449ba372d0b9a8363257afb1:/src/http.h diff --git a/src/http.h b/src/http.h index 6544e745..04f5f743 100644 --- a/src/http.h +++ b/src/http.h @@ -21,8 +21,9 @@ #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 + +int http_download_get_url ( const char *hostname, const char *uri, FILE *f, int already_redirected, int sendhostname ); #endif