diff options
author | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | 2009-02-17 16:16:07 +0000 |
---|---|---|
committer | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | 2009-02-17 16:16:07 +0000 |
commit | 4608d0157ee890a669aa2e88b81023d8bb7347e7 (patch) | |
tree | 025c9b098f8c8fbb50188c6ee6b8bc0a465a781a | |
parent | a24fe59ee46316b3fd7de937f2845dfe7ae530c1 (diff) |
Continue sync work on OS400 specific code and RPG binding.
-rw-r--r-- | packages/OS400/README.OS400 | 1 | ||||
-rw-r--r-- | packages/OS400/ccsidcurl.c | 3 | ||||
-rw-r--r-- | packages/OS400/curl.inc.in | 9 |
3 files changed, 12 insertions, 1 deletions
diff --git a/packages/OS400/README.OS400 b/packages/OS400/README.OS400 index 7f78292a2..b57e74d40 100644 --- a/packages/OS400/README.OS400 +++ b/packages/OS400/README.OS400 @@ -106,6 +106,7 @@ options: CURLOPT_PROXYUSERNAME CURLOPT_PROXYPASSWORD CURLOPT_NOPROXY + CURLOPT_SOCKS5_GSSAPI_SERVICE Else it is the same as for curl_easy_setopt(). Note that CURLOPT_ERRORBUFFER is not in the list above, since it gives the address of an (empty) character buffer, not the address of a string. diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c index 1591978a5..14630b633 100644 --- a/packages/OS400/ccsidcurl.c +++ b/packages/OS400/ccsidcurl.c @@ -1030,7 +1030,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...) if (testwarn) { testwarn = 0; - if ((int) STRING_LAST != (int) STRING_NOPROXY + 1) + if ((int) STRING_LAST != (int) STRING_SOCKS5_GSSAPI_SERVICE + 1) curl_mfprintf(stderr, "*** WARNING: curl_easy_setopt_ccsid() should be reworked ***\n"); } @@ -1080,6 +1080,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...) case CURLOPT_PROXYUSERNAME: case CURLOPT_PROXYPASSWORD: case CURLOPT_NOPROXY: + case CURLOPT_SOCKS5_GSSAPI_SERVICE: s = va_arg(arg, char *); ccsid = va_arg(arg, unsigned int); diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in index 30b044bcb..d822896a0 100644 --- a/packages/OS400/curl.inc.in +++ b/packages/OS400/curl.inc.in @@ -470,6 +470,15 @@ d CURLFTPAUTH_TLS... d c 2 * + d curl_ftpcreatedir... + d s 10i 0 based(######ptr######) Enum + d CURLFTP_CREATE_DIR_NONE... + d c 0 + d CURLFTP_CREATE_DIR... + d c 1 + d CURLFTP_CREATE_DIR_RETRY... + d c 2 + * d curl_ftpmethod s 10i 0 based(######ptr######) Enum d CURLFTPMETHOD_DEFAULT... d c 0 |