summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/fetch.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-05-07 20:52:40 +0000
committerdes <des@FreeBSD.org>2000-05-07 20:52:40 +0000
commitdf9519feabca721f45426847a75c01d7f1433fdb (patch)
tree64bd4d2f32f6389ea6d11623f72e7781e3e73b51 /lib/libfetch/fetch.h
parent5f7a182a3e3ae0f71bc4f79ba9e256b956a518b7 (diff)
downloadFreeBSD-src-df9519feabca721f45426847a75c01d7f1433fdb.zip
FreeBSD-src-df9519feabca721f45426847a75c01d7f1433fdb.tar.gz
While we're at it, add a length field too in case we want to fully implement
partial fetches later.
Diffstat (limited to 'lib/libfetch/fetch.h')
-rw-r--r--lib/libfetch/fetch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/fetch.h b/lib/libfetch/fetch.h
index 0810ba69..e237515 100644
--- a/lib/libfetch/fetch.h
+++ b/lib/libfetch/fetch.h
@@ -41,6 +41,7 @@
struct url {
off_t offset;
+ size_t length;
char scheme[URL_SCHEMELEN+1];
char user[URL_USERLEN+1];
char pwd[URL_PWDLEN+1];
OpenPOWER on IntegriCloud