cctools
http_query.h
1 /*
2 Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3 Copyright (C) 2005- The University of Notre Dame
4 This software is distributed under the GNU General Public License.
5 See the file COPYING for details.
6 */
7 
8 #ifndef HTTP_QUERY_H
9 #define HTTP_QUERY_H
10 
11 #include "link.h"
12 #include "int_sizes.h"
13 
14 struct link *http_query(const char *url, const char *action, time_t stoptime);
15 struct link *http_query_no_cache(const char *url, const char *action, time_t stoptime);
16 struct link *http_query_size(const char *url, const char *action, INT64_T * size, time_t stoptime, int cache_reload);
17 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);
18 
19 INT64_T http_fetch_to_file(const char *url, const char *filename, time_t stoptime);
20 
21 #endif