aboutsummaryrefslogtreecommitdiff
path: root/lib/pingpong.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pingpong.h')
-rw-r--r--lib/pingpong.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/pingpong.h b/lib/pingpong.h
index 3a87e4041..278f0b619 100644
--- a/lib/pingpong.h
+++ b/lib/pingpong.h
@@ -32,6 +32,13 @@
/* forward-declaration, this is defined in urldata.h */
struct connectdata;
+typedef enum {
+ FTPTRANSFER_BODY, /* yes do transfer a body */
+ FTPTRANSFER_INFO, /* do still go through to get info/headers */
+ FTPTRANSFER_NONE, /* don't get anything and don't get info */
+ FTPTRANSFER_LAST /* end of list marker, never used */
+} curl_ftptransfer;
+
/*
* 'pingpong' is the generic struct used for protocols doing server<->client
* conversations in a back-and-forth style such as FTP, IMAP, POP3, SMTP etc.