aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 2c2727953..d9dd17542 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -183,6 +183,13 @@ struct FTP {
char *entrypath; /* the PWD reply when we logged on */
};
+/****************************************************************************
+ * FILE unique setup
+ ***************************************************************************/
+struct FILE {
+ int fd; /* open file descriptor to read from! */
+};
+
/*
* Boolean values that concerns this connection.
*/
@@ -318,9 +325,9 @@ struct connectdata {
struct HTTP *gopher; /* alias, just for the sake of being more readable */
struct HTTP *https; /* alias, just for the sake of being more readable */
struct FTP *ftp;
+ struct FILE *file;
#if 0 /* no need for special ones for these: */
struct TELNET *telnet;
- struct FILE *file;
struct LDAP *ldap;
struct DICT *dict;
#endif