]> err.no Git - mapper/blobdiff - src/map-download.h
Fixes to gstreamer element and caps handlings.
[mapper] / src / map-download.h
index 28b5ed24cf871ed0b6d0c505ebfc9f7e2b1e73e7..f5634e1898dbcba8fa6b7a9256a95bc44254236a 100644 (file)
@@ -6,15 +6,18 @@
 #include <curl/multi.h>
 #include <glib.h>
 #include "mapper-types.h"
+#include "map-repo.h"
+
+#define INITIAL_DOWNLOAD_RETRIES (3)
+
+/** The Source ID of the CURL Multi Download timeout. */
+guint _curl_sid;
 
 CURLM *_curl_multi;
-GQueue *_curl_easy_queue;
-GTree *_pui_tree;
-GTree *_downloading_tree;
-GHashTable *_pui_by_easy;
 
 void map_download_init(void);
 void map_initiate_download(guint tilex, guint tiley, guint zoom, gint retries);
+gboolean map_download_stop(void);
 gboolean map_download_timeout();
 gboolean map_download_idle_refresh(ProgressUpdateInfo * pui);