int runHttpRequests(maps **, maps **, HINTERNET *, map **)
Effectively run all the HTTP requests in the queue.
Definition: caching.c:645
void addToCache(maps *, char *, char *, char *, int, char *, size_t)
Cache a file for a given request.
Definition: caching.c:292
int loadRemoteFile(maps **, map **, HINTERNET *, char *)
Try to load file from cache or download a remote file if not in cache.
Definition: caching.c:730
void addRequestToQueue(maps **, HINTERNET *, const char *, bool)
Add a request in the download queue.
Definition: caching.c:704
bool isAllowedPath(maps *, const char *)
Ensure that the file:// protocol is used only for allowed paths.
Definition: caching.c:680
char * getMd5f(char *)
Compute md5 of a file.
Definition: caching.c:72
char * isInCache(maps *, char *)
Verify if a url is available in the cache.
Definition: caching.c:358
linked list of map pointer
Definition: service.h:678
KVP linked list.
Definition: service.h:657
int storeMd5(char *)
Definition: caching.c:170
Multiple CURL handlers.
Definition: ulinet.h:96