ZOO-Project
|
caching.h File Reference
Go to the source code of this file.
Functions | |
void | addToCache (maps *, char *, char *, char *, int, char *, size_t) |
Cache a file for a given request. More... | |
char * | isInCache (maps *, char *) |
Verify if a url is available in the cache. More... | |
int | runHttpRequests (maps **, maps **, HINTERNET *, map **) |
Effectively run all the HTTP requests in the queue. More... | |
void | addRequestToQueue (maps **, HINTERNET *, const char *, bool) |
Add a request in the download queue. More... | |
int | loadRemoteFile (maps **, map **, HINTERNET *, char *) |
Try to load file from cache or download a remote file if not in cache. More... | |
char * | getMd5f (char *) |
Compute md5 of a file. More... | |