]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
os400: sync with latest changes
authorPatrick Monnerat <patrick@monnerat.net>
Wed, 17 Apr 2024 15:39:23 +0000 (17:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 17 Apr 2024 20:33:40 +0000 (22:33 +0200)
- Conversion support for new version info character field rtmp_version.
- New ILE/RPG declarations.

Closes #13402

packages/OS400/ccsidcurl.c
packages/OS400/curl.inc.in

index 4d1e2b52addf3baabf3c9aba33844f69d50c2d8f..60a10d7ea5e3617009be052e28cea8e4f1e941b4 100644 (file)
@@ -437,7 +437,8 @@ curl_version_info_ccsid(CURLversion stamp, unsigned int ccsid)
     offsetof(curl_version_info_data, zstd_version),
     offsetof(curl_version_info_data, hyper_version),
     offsetof(curl_version_info_data, gsasl_version),
-    offsetof(curl_version_info_data, feature_names)
+    offsetof(curl_version_info_data, feature_names),
+    offsetof(curl_version_info_data, rtmp_version)
   };
 
   /* The assertion below is possible, because although the second operand
@@ -1097,9 +1098,7 @@ curl_easy_setopt_ccsid(CURL *easy, CURLoption tag, ...)
   case CURLOPT_DNS_LOCAL_IP6:
   case CURLOPT_DNS_SERVERS:
   case CURLOPT_DOH_URL:
-#ifdef USE_ECH
   case CURLOPT_ECH:
-#endif
   case CURLOPT_EGDSOCKET:
   case CURLOPT_FTPPORT:
   case CURLOPT_FTP_ACCOUNT:
index b3a4e9efd4c65890e89765a6832b3cd60414338f..915ece6e6d58fb71e9656825013a3ba1515c824e 100644 (file)
      d CURLAUTH_NTLM   c                   X'00000008'
      d CURLAUTH_DIGEST_IE...
      d                 c                   X'00000010'
+      /if not defined(CURL_NO_OLDIES)
      d CURLAUTH_NTLM_WB...
      d                 c                   X'00000020'
+      /endif
      d CURLAUTH_BEARER...
      d                 c                   X'00000040'
      d CURLAUTH_AWS_SIGV4...
      d                 c                   99
      d  CURLE_TOO_LARGE...
      d                 c                   100
+     d  CURLE_ECH_REQUIRED...
+     d                 c                   101
       *
       /if not defined(CURL_NO_OLDIES)
      d  CURLE_URL_MALFORMAT_USER...
      d                 c                   10323
      d  CURLOPT_SERVER_RESPONSE_TIMEOUT_MS...
      d                 c                   00324
+     d  CURLOPT_ECH    c                   10325
       *
       /if not defined(CURL_NO_OLDIES)
      d  CURLOPT_FILE   c                   10001
      d                 c                   X'00600040'
      d  CURLINFO_QUEUE_TIME_T...                                                CURLINFO_OFF_T  + 65
      d                 c                   X'00600041'
+     d  CURLINFO_USED_PROXY...                                                  CURLINFO_LONG + 66
+     d                 c                   X'00200042'
       *
      d  CURLINFO_HTTP_CODE...                                                   Old ...RESPONSE_CODE
      d                 c                   X'00200002'
      d                 c                   9
      d  CURLVERSION_ELEVENTH...
      d                 c                   10
+     d  CURLVERSION_TWELFTH...
+     d                 c                   11
      d  CURLVERSION_NOW...
-     d                 c                   10                                   CURLVERSION_ELEVENTH
+     d                 c                   11                                   CURLVERSION_ELEVENTH
       *
      d CURLHcode       s             10i 0 based(######ptr######)               Enum
      d  CURLHE_OK      c                   0
      d  gsasl_version...
      d                                 *                                        const char *
      d  feature_names...
+     d                                 *                                        const char *
+     d  rtmp_version...
      d                                 *                                        const char *
       *
      d curl_certinfo   ds                  based(######ptr######)
      d  running_handles...
      d                               10i 0
       *
+     d curl_multi_waitfds...
+     d                 pr                  extproc('curl_multi_waitfds')
+     d                                     like(CURLMcode)
+     d  multi                          *   value                                CURLM *
+     d  ufds                           *   value                                curl_waitfd *
+     d  size                         10u 0 value
+     d  fd_count                     10u 0
+      *
      d curl_multi_socket_action...
      d                 pr                  extproc('curl_multi_socket_action')
      d                                     like(CURLMcode)