aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2018-12-26 15:17:54 +0100
committerPatrick Monnerat <patrick@monnerat.net>2018-12-26 15:17:54 +0100
commit9be7ced65f22ca789c8b852776fa3ae0e13ea17d (patch)
tree072deaf45b69192baecc1257e4b26dfd2d2f8e73
parentb3d111ae1523abb8ce13d6e6f5ee20459df6529e (diff)
os400: upgrade ILE/RPG binding.
- Trailer function support. - http 0.9 option. - curl_easy_upkeep.
-rw-r--r--packages/OS400/curl.inc.in23
1 files changed, 18 insertions, 5 deletions
diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in
index b13358704..643f480c5 100644
--- a/packages/OS400/curl.inc.in
+++ b/packages/OS400/curl.inc.in
@@ -167,6 +167,11 @@
d CURL_WRITEFUNC_PAUSE...
d c X'10000001'
*
+ d CURL_TRAILERFUNC_OK...
+ d c 0
+ d CURL_TRAILERFUNC_ABORT...
+ d c 1
+ *
d CURLAUTH_NONE c X'00000000'
d CURLAUTH_BASIC c X'00000001'
d CURLAUTH_DIGEST...
@@ -586,9 +591,6 @@
d CURLE_HTTP2_STREAM...
d c 92
*
- d CURLE_PEER_FAILED_VERIFICATION...
- d c 60
- *
/if not defined(CURL_NO_OLDIES)
d CURLE_URL_MALFORMAT_USER...
d c 4
@@ -640,6 +642,8 @@
d c 51
d CURLE_SHARE_IN_USE...
d c 57
+ d CURLE_SSL_CACERT...
+ d c 60
d CURLE_FTP_SSL_FAILED...
d c 64
d CURLE_TFTP_DISKFULL...
@@ -1385,6 +1389,12 @@
d CURLOPT_UPKEEP_INTERVAL_MS...
d c 00281
d CURLOPT_CURLU c 10282
+ d CURLOPT_TRAILERFUNCTION...
+ d c 20283
+ d CURLOPT_TRAILERDATA...
+ d c 10284
+ d CURLOPT_HTTP09_ALLOWED...
+ d c 00285
*
/if not defined(CURL_NO_OLDIES)
d CURLOPT_FILE c 10001
@@ -2064,6 +2074,9 @@
d curl_read_callback...
d s * based(######ptr######) procptr
*
+ d curl_trailer_callback...
+ d s * based(######ptr######) procptr
+ *
d curl_write_callback...
d s * based(######ptr######) procptr
*
@@ -2448,8 +2461,8 @@
d curl * value CURL *
d bitmask 10i 0 value
*
- d curl_easy_conn_upkeep...
- d pr extproc('curl_easy_conn_upkeep')
+ d curl_easy_upkeep...
+ d pr extproc('curl_easy_upkeep')
d like(CURLcode)
d curl * value CURL *
*