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)
12 /** The Source ID of the CURL Multi Download timeout. */
17 void map_download_init(void);
18 void map_initiate_download(guint tilex, guint tiley, guint zoom, gint retries);
19 gboolean map_download_stop(void);
20 gboolean map_download_timeout();
21 gboolean map_download_idle_refresh(ProgressUpdateInfo * pui);