]> granicus.if.org Git - curl/commitdiff
os400: include new options in wrappers and update ILE/RPG binding.
authorPatrick Monnerat <pm@datasphere.ch>
Mon, 24 Aug 2015 12:20:34 +0000 (14:20 +0200)
committerPatrick Monnerat <pm@datasphere.ch>
Mon, 24 Aug 2015 12:20:34 +0000 (14:20 +0200)
packages/OS400/README.OS400
packages/OS400/ccsidcurl.c
packages/OS400/curl.inc.in

index 269ead33e4f5c4bd234ccff495a2dbfa72dd3127..e5c97127be299ad015f76061b90f2f7312439d54 100644 (file)
@@ -72,6 +72,7 @@ options:
         CURLOPT_COPYPOSTFIELDS
         CURLOPT_CRLFILE
         CURLOPT_CUSTOMREQUEST
+        CURLOPT_DEFAULT_PROTOCOL
         CURLOPT_DNS_SERVERS
         CURLOPT_EGDSOCKET
         CURLOPT_ENCODING
index 7b76071304b410b34f62af18d64f262f504f1562..841ca9cbcf337902cfe1cc5cf96e35b7a0c110c6 100644 (file)
@@ -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:
index 1221015e578823500805d2be738435135ad8336c..86d4808d5f867871a72fe4a37e3937b8516aaeec 100644 (file)
@@ -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'
      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
      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'