From aec249f89fe430964a21f60fca33c935c3dcbdfa Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Mon, 24 Aug 2015 14:20:34 +0200 Subject: os400: include new options in wrappers and update ILE/RPG binding. --- packages/OS400/README.OS400 | 1 + packages/OS400/ccsidcurl.c | 2 ++ packages/OS400/curl.inc.in | 6 ++++++ 3 files changed, 9 insertions(+) (limited to 'packages') diff --git a/packages/OS400/README.OS400 b/packages/OS400/README.OS400 index 269ead33e..e5c97127b 100644 --- a/packages/OS400/README.OS400 +++ b/packages/OS400/README.OS400 @@ -72,6 +72,7 @@ options: CURLOPT_COPYPOSTFIELDS CURLOPT_CRLFILE CURLOPT_CUSTOMREQUEST + CURLOPT_DEFAULT_PROTOCOL CURLOPT_DNS_SERVERS CURLOPT_EGDSOCKET CURLOPT_ENCODING diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c index 7b7607130..841ca9cbc 100644 --- a/packages/OS400/ccsidcurl.c +++ b/packages/OS400/ccsidcurl.c @@ -679,6 +679,7 @@ curl_easy_getinfo_ccsid(CURL * curl, CURLINFO info, ...) break; case CURLINFO_TLS_SESSION: + case CURLINFO_SOCKET: break; default: @@ -1133,6 +1134,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...) case CURLOPT_COOKIELIST: case CURLOPT_CRLFILE: case CURLOPT_CUSTOMREQUEST: + case CURLOPT_DEFAULT_PROTOCOL: case CURLOPT_DNS_SERVERS: case CURLOPT_EGDSOCKET: case CURLOPT_ENCODING: diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in index 1221015e5..86d4808d5 100644 --- a/packages/OS400/curl.inc.in +++ b/packages/OS400/curl.inc.in @@ -66,6 +66,8 @@ d CURLINFO_DOUBLE... d c X'00300000' d CURLINFO_SLIST c X'00400000' + d CURLINFO_SOCKET... + d c X'00500000' d CURLINFO_MASK c X'000FFFFF' d CURLINFO_TYPEMASK... d c X'00F00000' @@ -1224,6 +1226,8 @@ d c 10236 d CURLOPT_PIPEWAIT... d c 00237 + d CURLOPT_DEFAULT_PROTOCOL... + d c 10238 * /if not defined(CURL_NO_OLDIES) d CURLOPT_FILE c 10001 @@ -1402,6 +1406,8 @@ d c X'0020002A' d CURLINFO_TLS_SESSION... CURLINFO_SLIST + 43 d c X'0040002B' + d CURLINFO_ACTIVESOCKET... CURLINFO_SOCKET + 44 + d c X'0050002C' * d CURLINFO_HTTP_CODE... Old ...RESPONSE_CODE d c X'00200002' -- cgit v1.2.3