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