00001
00002
00003
00004
00005
00006
00007
00008 #ifndef HTTP_QUERY_H
00009 #define HTTP_QUERY_H
00010
00011 #include "link.h"
00012 #include "int_sizes.h"
00013
00014 struct link *http_query(const char *url, const char *action, time_t stoptime);
00015 struct link *http_query_no_cache(const char *url, const char *action, time_t stoptime);
00016 struct link *http_query_size(const char *url, const char *action, INT64_T * size, time_t stoptime, int cache_reload);
00017 struct link *http_query_size_via_proxy(const char *proxy, const char *url, const char *action, INT64_T * size, time_t stoptime, int cache_reload);
00018
00019 INT64_T http_fetch_to_file(const char *url, const char *filename, time_t stoptime);
00020
00021 #endif