cctools
http_query.h
1/*
2Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3Copyright (C) 2022 The University of Notre Dame
4This software is distributed under the GNU General Public License.
5See 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
14struct link *http_query(const char *url, const char *action, time_t stoptime);
15struct link *http_query_no_cache(const char *url, const char *action, time_t stoptime);
16struct link *http_query_size(const char *url, const char *action, INT64_T * size, time_t stoptime, int cache_reload);
17struct 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
19INT64_T http_fetch_to_file(const char *url, const char *filename, time_t stoptime);
20
21#endif