diff options
author | bapt <bapt@FreeBSD.org> | 2014-06-05 22:16:26 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-06-05 22:16:26 +0000 |
commit | 1b8c8ebb57773b1f91693a2c415eb211531a4f8e (patch) | |
tree | f36cb2d2a75d718f0c539d3f94b0530b1c076bc8 /lib/libfetch/common.h | |
parent | c84894dbf33070c6eacb47348c5302f859f53265 (diff) | |
download | FreeBSD-src-1b8c8ebb57773b1f91693a2c415eb211531a4f8e.zip FreeBSD-src-1b8c8ebb57773b1f91693a2c415eb211531a4f8e.tar.gz |
Add support for arbitrary http requests
Submitted by: Alex Hornung <alex@alexhornung.com>
Reviewed by: des
Obtained from: Dragonfly
MFC after: 3 week
Diffstat (limited to 'lib/libfetch/common.h')
-rw-r--r-- | lib/libfetch/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libfetch/common.h b/lib/libfetch/common.h index 875eef1..41c10d2 100644 --- a/lib/libfetch/common.h +++ b/lib/libfetch/common.h @@ -117,6 +117,9 @@ int fetch_no_proxy_match(const char *); */ FILE *http_request(struct url *, const char *, struct url_stat *, struct url *, const char *); +FILE *http_request_body(struct url *, const char *, + struct url_stat *, struct url *, const char *, + const char *, const char *); FILE *ftp_request(struct url *, const char *, struct url_stat *, struct url *, const char *); |