3 #ifndef _MAPPER_MAP_DOWNLOAD_H
4 #define _MAPPER_MAP_DOWNLOAD_H
6 #include <curl/multi.h>
8 #include "mapper-types.h"
10 #define INITIAL_DOWNLOAD_RETRIES (3)
13 GQueue *_curl_easy_queue;
15 GTree *_downloading_tree;
16 GHashTable *_pui_by_easy;
18 void map_download_init(void);
19 void map_initiate_download(guint tilex, guint tiley, guint zoom, gint retries);
20 gboolean map_download_timeout();
21 gboolean map_download_idle_refresh(ProgressUpdateInfo * pui);