summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPatrick Monnerat <pm@datasphere.ch>2015-08-24 14:20:34 +0200
committerPatrick Monnerat <pm@datasphere.ch>2015-08-24 14:20:34 +0200
commitaec249f89fe430964a21f60fca33c935c3dcbdfa (patch)
tree0c36b8c9ea658880647c49c6a5eba087cb6e23a8 /packages
parente7d171da6bf33fe360b4feaa0d12ea5c23855063 (diff)
downloadcurl-aec249f89fe430964a21f60fca33c935c3dcbdfa.tar.gz
os400: include new options in wrappers and update ILE/RPG binding.
Diffstat (limited to 'packages')
-rw-r--r--packages/OS400/README.OS4001
-rw-r--r--packages/OS400/ccsidcurl.c2
-rw-r--r--packages/OS400/curl.inc.in6
3 files changed, 9 insertions, 0 deletions
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'