X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/108889308bdc1f0a1e3329f68ce89fbe14112cbd..a31889935875a7d1d32c8dae2d6218d7938167f8:/src/download.h?ds=inline diff --git a/src/download.h b/src/download.h index 5439a4ce..d31776ae 100644 --- a/src/download.h +++ b/src/download.h @@ -23,7 +23,16 @@ #define _VIKING_DOWNLOAD_H typedef struct { + /** + * Indicates if we should send hostname on the GET request. + * (see http.c) + */ int sendhostname; + /** + * The REFERER string to use. + * Could be NULL. + */ + gchar *referer; } DownloadOptions; /* TODO: convert to Glib */