summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/fetch.h
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-20 00:29:41 +0000
committerbapt <bapt@FreeBSD.org>2014-07-20 00:29:41 +0000
commit63350d40ce15303c5d0420d475b65e1888cd3ff3 (patch)
treeb27151a0dd7c66f04a54b13385b1de9e3e6dcc61 /lib/libfetch/fetch.h
parent73fb3c280598036462af67b72879afe5bb731dc1 (diff)
downloadFreeBSD-src-63350d40ce15303c5d0420d475b65e1888cd3ff3.zip
FreeBSD-src-63350d40ce15303c5d0420d475b65e1888cd3ff3.tar.gz
MFC: r267131, r267132, r267133, r268493, r268671
Use NULL instead of 0 (Patch by Sascha Wildner <saw at online.de> for Dragonfly) Remove unnecessary semicolons (Patch by Sascha Wildner <saw at online.de> for Dragonfly) Add support for arbitrary http requests [1] Support EAGAIN in fetch_writev Submitted by: Alex Hornung <alex at alexhornung.com> [1] Reviewed by: des
Diffstat (limited to 'lib/libfetch/fetch.h')
-rw-r--r--lib/libfetch/fetch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libfetch/fetch.h b/lib/libfetch/fetch.h
index be49482..d56a103 100644
--- a/lib/libfetch/fetch.h
+++ b/lib/libfetch/fetch.h
@@ -102,6 +102,8 @@ FILE *fetchGetHTTP(struct url *, const char *);
FILE *fetchPutHTTP(struct url *, const char *);
int fetchStatHTTP(struct url *, struct url_stat *, const char *);
struct url_ent *fetchListHTTP(struct url *, const char *);
+FILE *fetchReqHTTP(struct url *, const char *, const char *,
+ const char *, const char *);
/* FTP-specific functions */
FILE *fetchXGetFTP(struct url *, struct url_stat *, const char *);
OpenPOWER on IntegriCloud