]> git.street.me.uk Git - andy/viking.git/blobdiff - src/http.h
Add referer to DownloadOptions
[andy/viking.git] / src / http.h
index c9c7776e74365cc7597b964c838760a9a6e4fbb7..d9aac4ab8578c35774726333f9db504588e1df1f 100644 (file)
 #ifndef _VIKING_HTTP_H
 #define _VIKING_HTTP_H
 
-int http_download_get_url ( const char *hostname, const char *uri, const char *fn, int already_redirected, int sendhostname );
+#include <stdio.h>
+
+#include "download.h"
+
+int http_download_get_url ( const char *hostname, const char *uri, FILE *f, int already_redirected, DownloadOptions *options );
 
 #endif