]> granicus.if.org Git - curl/commitdiff
os400: upgrade ILE/RPG binding.
authorPatrick Monnerat <patrick@monnerat.net>
Wed, 26 Dec 2018 14:17:54 +0000 (15:17 +0100)
committerPatrick Monnerat <patrick@monnerat.net>
Wed, 26 Dec 2018 14:17:54 +0000 (15:17 +0100)
- Trailer function support.
- http 0.9 option.
- curl_easy_upkeep.

packages/OS400/curl.inc.in

index b133587044c4289ce0753bca98bd82645e5fe94a..643f480c5777cfa92d2d399526a4588a3451f11f 100644 (file)
      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...
      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
      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...
      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
      d                 s               *   based(######ptr######) procptr
       *
      d curl_read_callback...
+     d                 s               *   based(######ptr######) procptr
+      *
+     d curl_trailer_callback...
      d                 s               *   based(######ptr######) procptr
       *
      d curl_write_callback...
      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 *
       *