aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 5f5bb7b95..29b4e725f 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -272,8 +272,6 @@ struct HTTP {
struct Form form;
size_t (*storefread)(char *, size_t , size_t , FILE *);
FILE *in;
-
- long followlocation;
};
/****************************************************************************
@@ -412,17 +410,23 @@ struct UrlData {
char *userpwd; /* <user:password>, if used */
char *range; /* range, if used. See README for detailed specification on
this syntax. */
- char *postfields; /* if POST, set the fields' values here */
- long postfieldsize; /* if POST, this might have a size to use instead of
- strlen(), and then the data *may* be binary (contain
- zero bytes) */
+ /* stuff related to HTTP */
+
+ long followlocation;
+ char *referer;
bool free_referer; /* set TRUE if 'referer' points to a string we
allocated */
- char *referer;
char *useragent; /* User-Agent string */
+ char *postfields; /* if POST, set the fields' values here */
+ long postfieldsize; /* if POST, this might have a size to use instead of
+ strlen(), and then the data *may* be binary (contain
+ zero bytes) */
+ /* stuff related to FTP */
char *ftpport; /* port to send with the PORT command */
+
+ /* general things */
char *device; /* Interface to use */
/* function that stores the output:*/