]> err.no Git - mapper/blob - src/map-download.h
Move some variables around
[mapper] / src / map-download.h
1 #include "config.h"
2
3 #ifndef _MAPPER_MAP_DOWNLOAD_H
4 #define _MAPPER_MAP_DOWNLOAD_H
5
6 #include <curl/multi.h>
7 #include <glib.h>
8 #include "mapper-types.h"
9
10 #define INITIAL_DOWNLOAD_RETRIES (3)
11
12 /** The Source ID of the CURL Multi Download timeout. */
13 guint _curl_sid;
14
15 CURLM *_curl_multi;
16
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);
22
23 #endif