Skip to content

Commit

Permalink
os400: include new options in wrappers and update ILE/RPG binding.
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Monnerat committed Aug 24, 2015
1 parent e7d171d commit aec249f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/OS400/README.OS400
Expand Up @@ -72,6 +72,7 @@ options:
CURLOPT_COPYPOSTFIELDS
CURLOPT_CRLFILE
CURLOPT_CUSTOMREQUEST
CURLOPT_DEFAULT_PROTOCOL
CURLOPT_DNS_SERVERS
CURLOPT_EGDSOCKET
CURLOPT_ENCODING
Expand Down
2 changes: 2 additions & 0 deletions packages/OS400/ccsidcurl.c
Expand Up @@ -679,6 +679,7 @@ curl_easy_getinfo_ccsid(CURL * curl, CURLINFO info, ...)
break;

case CURLINFO_TLS_SESSION:
case CURLINFO_SOCKET:
break;

default:
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions packages/OS400/curl.inc.in
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit aec249f

Please sign in to comment.