mirror of
https://github.com/curl/curl.git
synced 2026-07-27 10:57:19 +03:00
convert CURLFTPMETHOD_* to long constants
This commit is contained in:
parent
35081fb461
commit
af22a19ced
7 changed files with 20 additions and 19 deletions
|
|
@ -1009,12 +1009,14 @@ typedef enum {
|
|||
} curl_ftpcreatedir;
|
||||
|
||||
/* parameter for the CURLOPT_FTP_FILEMETHOD option */
|
||||
#define CURLFTPMETHOD_DEFAULT 0L /* let libcurl pick */
|
||||
#define CURLFTPMETHOD_MULTICWD 1L /* single CWD operation for each path
|
||||
part */
|
||||
#define CURLFTPMETHOD_NOCWD 2L /* no CWD at all */
|
||||
#define CURLFTPMETHOD_SINGLECWD 3L /* one CWD to full dir, then work on file */
|
||||
|
||||
typedef enum {
|
||||
CURLFTPMETHOD_DEFAULT, /* let libcurl pick */
|
||||
CURLFTPMETHOD_MULTICWD, /* single CWD operation for each path part */
|
||||
CURLFTPMETHOD_NOCWD, /* no CWD at all */
|
||||
CURLFTPMETHOD_SINGLECWD, /* one CWD to full dir, then work on file */
|
||||
CURLFTPMETHOD_LAST /* not an option, never use */
|
||||
CURLFTPMETHOD_LAST = 4 /* not an option, never use */
|
||||
} curl_ftpmethod;
|
||||
|
||||
/* bitmask defines for CURLOPT_HEADEROPT */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue