diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-07-25 22:45:21 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-07-25 22:45:21 +0000 |
commit | 2527b5301946539363754a390974cdd3a3d34485 (patch) | |
tree | cb3118d3490244ef1ed0e9ca624501ec60e3fe24 /include | |
parent | 78a47826b26d666586dc98028f38b5a0d6f59ad2 (diff) |
Dan Nelson added the CURLOPT_FTP_ALTERNATIVE_TO_USER libcurl option and curl
tool option named --ftp-alternative-to-user. It provides a mean to send a
particular command if the normal USER/PASS approach fails.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index b9b341dee..db14fe1f5 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -61,14 +61,14 @@ extern "C" { #ifdef CURL_HIDDEN_SYMBOLS /* - * This definition is used to make external definitions visibile in the + * This definition is used to make external definitions visibile in the * shared library when symbols are hidden by default. It makes no * difference when compiling applications whether this is set or not, * only when compiling the library. */ #define CURL_EXTERN CURL_EXTERN_SYMBOL #else -#define CURL_EXTERN +#define CURL_EXTERN #endif #endif @@ -979,6 +979,9 @@ typedef enum { CINIT(MAX_SEND_SPEED_LARGE, OFF_T, 145), CINIT(MAX_RECV_SPEED_LARGE, OFF_T, 146), + /* Pointer to command string to send if USER/PASS fails. */ + CINIT(FTP_ALTERNATIVE_TO_USER, OBJECTPOINT, 147), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; |