]> git.street.me.uk Git - andy/viking.git/blobdiff - src/curl_download.h
Read zip files contents which are stored with no compression.
[andy/viking.git] / src / curl_download.h
index 86022ed4e274dc1f10a4bf333679d155c952e91c..84d8ed172907837c2b1e5e9b4986b8528f62ece6 100644 (file)
 
 #include "download.h"
 
+G_BEGIN_DECLS
+
+/* Error messages returned by download functions */
+enum { CURL_DOWNLOAD_NO_ERROR = 0,
+       CURL_DOWNLOAD_NO_NEWER_FILE,
+       CURL_DOWNLOAD_ERROR };
+
 void curl_download_init ();
 void curl_download_uninit ();
 int curl_download_get_url ( const char *hostname, const char *uri, FILE *f, DownloadMapOptions *options, gboolean ftp, DownloadFileOptions *file_options, void *handle );
@@ -33,4 +40,6 @@ int curl_download_uri ( const char *uri, FILE *f, DownloadMapOptions *options, D
 void * curl_download_handle_init ();
 void curl_download_handle_cleanup ( void * handle );
 
+G_END_DECLS
+
 #endif