aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2007-02-20 22:02:11 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2007-02-20 22:02:11 +0000
commit2f5e99ca02b6716fdac59c299ab7738a2077743d (patch)
treed0c1fc8f0681b1770f93e3bccd4329b94807dfbf /include
parent6014c21bc96b40eeb7a94fe7f6dbb182af0ba0ae (diff)
New FTP CCC functionality - adds passive and active mode to accomodate for different server behaviour
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index e911fca5a..d7f36645c 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -465,6 +465,14 @@ typedef enum {
CURLFTPSSL_LAST /* not an option, never use */
} curl_ftpssl;
+/* parameter for the CURLOPT_FTP_SSL_CCC option */
+typedef enum {
+ CURLFTPSSL_CCC_NONE, /* do not send CCC */
+ CURLFTPSSL_CCC_PASSIVE, /* Let the server initiate the shutdown */
+ CURLFTPSSL_CCC_ACTIVE, /* Initiate the shutdown */
+ CURLFTPSSL_CCC_LAST /* not an option, never use */
+} curl_ftpccc;
+
/* parameter for the CURLOPT_FTPSSLAUTH option */
typedef enum {
CURLFTPAUTH_DEFAULT, /* let libcurl decide */