summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/http.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-06-05 10:27:24 +0000
committerdes <des@FreeBSD.org>2002-06-05 10:27:24 +0000
commitb85e1918d1bbf8f9e128b08821305f08c0699d46 (patch)
treedde6099e45e54d0dc237ca415481e0112bbda7a7 /lib/libfetch/http.c
parent300df6a8f143471815daf9edaa59ca8b838b0227 (diff)
downloadFreeBSD-src-b85e1918d1bbf8f9e128b08821305f08c0699d46.zip
FreeBSD-src-b85e1918d1bbf8f9e128b08821305f08c0699d46.tar.gz
Add comments to struct cookie.
Diffstat (limited to 'lib/libfetch/http.c')
-rw-r--r--lib/libfetch/http.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c
index 1767080..c0fcc75 100644
--- a/lib/libfetch/http.c
+++ b/lib/libfetch/http.c
@@ -106,14 +106,14 @@ __FBSDID("$FreeBSD$");
struct cookie
{
- conn_t *conn;
- char *buf;
- size_t b_size;
- ssize_t b_len;
- int b_pos;
- int eof;
- int error;
- size_t chunksize;
+ conn_t *conn; /* connection */
+ char *buf; /* chunk buffer */
+ size_t b_size; /* size of chunk buffer */
+ ssize_t b_len; /* amount of data currently in buffer */
+ int b_pos; /* current read offset in buffer */
+ int eof; /* end-of-file flag */
+ int error; /* error flag */
+ size_t chunksize; /* remaining size of current chunk */
#ifndef NDEBUG
size_t total;
#endif
OpenPOWER on IntegriCloud