summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/ftp.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-20 20:40:49 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-20 20:40:49 (GMT)
commite3dc4df9b95272037d27be25ae5ef030ffd83fa4 (patch)
tree6132bc02d5204bd988b32ee8ab06053ec7c0e4c4 /Utilities/cmcurl/lib/ftp.h
parent4e6c3cd93bc870f44442e6d7e59896bc6d86ce25 (diff)
parente8bff971d9d835a65bcb1711e7214afe37b238e0 (diff)
downloadCMake-e3dc4df9b95272037d27be25ae5ef030ffd83fa4.zip
CMake-e3dc4df9b95272037d27be25ae5ef030ffd83fa4.tar.gz
CMake-e3dc4df9b95272037d27be25ae5ef030ffd83fa4.tar.bz2
Merge branch 'upstream-curl' into update-curl
* upstream-curl: curl 2023-03-20 (b16d1fa8)
Diffstat (limited to 'Utilities/cmcurl/lib/ftp.h')
-rw-r--r--Utilities/cmcurl/lib/ftp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Utilities/cmcurl/lib/ftp.h b/Utilities/cmcurl/lib/ftp.h
index 65efa6f..977fc88 100644
--- a/Utilities/cmcurl/lib/ftp.h
+++ b/Utilities/cmcurl/lib/ftp.h
@@ -120,6 +120,8 @@ struct FTP {
struct */
struct ftp_conn {
struct pingpong pp;
+ char *account;
+ char *alternative_to_user;
char *entrypath; /* the PWD reply when we logged on */
char *file; /* url-decoded file name (or path) */
char **dirs; /* realloc()ed array for path components */
@@ -143,6 +145,9 @@ struct ftp_conn {
ftpstate state; /* always use ftp.c:state() to change state! */
ftpstate state_saved; /* transfer type saved to be reloaded after data
connection is established */
+ unsigned char use_ssl; /* if AUTH TLS is to be attempted etc, for FTP or
+ IMAP or POP3 or others! (type: curl_usessl)*/
+ unsigned char ccc; /* ccc level for this connection */
BIT(ftp_trying_alternative);
BIT(dont_check); /* Set to TRUE to prevent the final (post-transfer)
file size and 226/250 status check. It should still