3 #ifndef _MAPPER_MAP_DOWNLOAD_H
4 #define _MAPPER_MAP_DOWNLOAD_H
6 #include <curl/multi.h>
8 #include "mapper-types.h"
11 #define INITIAL_DOWNLOAD_RETRIES (3)
13 /** The Source ID of the CURL Multi Download timeout. */
18 void map_download_init(void);
19 void map_initiate_download(guint tilex, guint tiley, guint zoom, gint retries);
20 gboolean map_download_stop(void);
21 gboolean map_download_timeout();
22 gboolean map_download_idle_refresh(ProgressUpdateInfo * pui);