aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-02 07:42:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-02 07:42:35 +0000
commit7c6562683ade846a1d0ad849699cc6af47649feb (patch)
treea316b986894ea05e300fb326b3d0982348544196 /lib/urldata.h
parentb6fa2f882c3b15169ac3830eed7a9a5d8cacb520 (diff)
extending connectdata
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index ea25345f6..d9139826e 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -179,6 +179,8 @@ struct FTP {
char *urlpath; /* the originally given path part of the URL */
char *dir; /* decoded directory */
char *file; /* decoded file */
+
+ char *entrypath; /* the PWD reply when we logged on */
};
/*
@@ -186,6 +188,7 @@ struct FTP {
*/
struct ConnectBits {
bool close; /* if set, we close the connection after this request */
+ bool reuse; /* if set, this is a re-used connection */
};
/*
@@ -260,6 +263,11 @@ struct connectdata {
CURLcode (*curl_connect)(struct connectdata *connect);
/* This function *MAY* be set to a protocol-dependent function that is run
+ * by the curl_disconnect(), as a step in the disconnection.
+ */
+ CURLcode (*curl_disconnect)(struct connectdata *connect);
+
+ /* This function *MAY* be set to a protocol-dependent function that is run
* in the curl_close() function if protocol-specific cleanups are required.
*/
CURLcode (*curl_close)(struct connectdata *connect);