]> granicus.if.org Git - curl/commitdiff
Fix definition of CURLOPT_SOCKS5_GSSAPI_SERVICE from LONG to OBJECTPOINT
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>
Tue, 11 Aug 2009 14:07:08 +0000 (14:07 +0000)
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>
Tue, 11 Aug 2009 14:07:08 +0000 (14:07 +0000)
Fix OS400 makefile for tests to use the new Makefile.inc in libtest
Update the OS400 wrappers and RPG binding according to the current CVS source state

include/curl/curl.h
packages/OS400/ccsidcurl.c
packages/OS400/curl.inc.in
packages/OS400/make-tests.sh

index d261ce39b0d63a9b6e2bba0a5870b9b0da3eb408..116ba50f79167bd9dc8fe268c17744ecd13a1ecb 100644 (file)
@@ -1236,7 +1236,7 @@ typedef enum {
   CINIT(TFTP_BLKSIZE, LONG, 178),
 
   /* Socks Service */
-  CINIT(SOCKS5_GSSAPI_SERVICE, LONG, 179),
+  CINIT(SOCKS5_GSSAPI_SERVICE, OBJECTPOINT, 179),
 
   /* Socks Service */
   CINIT(SOCKS5_GSSAPI_NEC, LONG, 180),
index 14630b633d1e428a21fb3c7d15e5bca4ca860aa5..d64672dab3d35c1e44ebbeb5844b075f231e2ed3 100644 (file)
@@ -1080,6 +1080,8 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...)
   case CURLOPT_PROXYUSERNAME:
   case CURLOPT_PROXYPASSWORD:
   case CURLOPT_NOPROXY:
+  /* SSH2 not (yet) implemented on OS400. */
+  /* case CURLOPT_SSH_KNOWNHOSTS: */
   case CURLOPT_SOCKS5_GSSAPI_SERVICE:
     s = va_arg(arg, char *);
     ccsid = va_arg(arg, unsigned int);
index cda482733e155d4d0d22c250edfe009989806c1c..4b2af311be7782cf2033f954c4cf0345c512517e 100644 (file)
      d  CURLPROXY_SOCKS5_HOSTNAME...
      d                 c                   7
       *
+     d curl_khstat     s             10i 0 based(######ptr######)               Enum
+     d  CURLKHSTAT_FINE_ADD_TO_FILE...
+     d                 c                   0
+     d  CURLKHSTAT_FINE...
+     d                 c                   1
+     d  CURLKHSTAT_REJECT...
+     d                 c                   2
+     d  CURLKHSTAT_DEFER...
+     d                 c                   3
+     d  CURLKHSTAT_LAST...
+     d                 c                   4
+      *
+     d curl_khmatch    s             10i 0 based(######ptr######)               Enum
+     d  CURLKHMATCH_OK...
+     d                 c                   0
+     d  CURLKHMATCH_MISMATCH...
+     d                 c                   1
+     d  CURLKHMATCH_MISSING...
+     d                 c                   2
+     d  CURLKHMATCH_LAST...
+     d                 c                   3
+      *
      d curl_usessl     s             10i 0 based(######ptr######)               Enum
      d  CURLUSESSL_NONE...
      d                 c                   0
      d  CURLOPT_TFTP_BLKSIZE...
      d                 c                   00178
      d  CURLOPT_SOCKS5_GSSAPI_SERVICE...
-     d                 c                   00179
+     d                 c                   10179
      d  CURLOPT_SOCKS5_GSSAPI_NEC...
      d                 c                   00180
      d  CURLOPT_PROTOCOLS...
      d                 c                   00181
      d  CURLOPT_REDIR_PROTOCOLS...
      d                 c                   00182
+     d  CURLOPT_SSH_KNOWNHOSTS...
+     d                 c                   10183
+     d  CURLOPT_SSH_KEYFUNCTION...
+     d                 c                   20184
+     d  CURLOPT_SSH_KEYDATA...
+     d                 c                   10185
       *
      d  CURLOPT_POST301...
      d                 c                   00161                                Obsolescent
      d  addrlen                      10u 0
      d  addr                         16                                         struct sockaddr
       *
+     d curl_khkey      ds                  based(######ptr######)
+     d                                     qualified
+     d  key                            *                                        const char *
+     d  len                          10u 0
+     d  keytype                      10i 0
+      *
+     d CURLKHTYPE_UNKNOWN...
+     d                 c                   0
+     d CURLKHTYPE_RSA1...
+     d                 c                   1
+     d CURLKHTYPE_RSA...
+     d                 c                   2
+     d CURLKHTYPE_DSS...
+     d                 c                   3
+      *
      d curl_forms      ds                  based(######ptr######)
      d                                     qualified
      d  option                             like(CURLformoption)
      d                 s               *   based(######ptr######) procptr
       *
      d curl_opensocket_callback...
+     d                 s               *   based(######ptr######) procptr
+      *
+     d curl_sshkeycallback...
      d                 s               *   based(######ptr######) procptr
       *
       **************************************************************************
index 6ef6af914cb95f43cdc20db0e15cc9dc922e6fba..71943bae453487ac0a570330ad5b601daeccf5f5 100644 (file)
@@ -17,7 +17,7 @@ cd "${TOPDIR}/tests"
 
 cd libtest
 
-#       Get definitions from the Makefile.am file.
+#       Get definitions from the Makefile.inc file.
 #       The `sed' statement works as follows:
 #       _ Join \nl-separated lines.
 #       _ Retain only lines that begins with "identifier =".
@@ -35,7 +35,7 @@ eval "`sed -e ': begin'                                                 \
         -e 's/[        ]*=[    ]*/=/'                                  \
         -e 's/=\\(.*[^         ]\\)[   ]*$/=\\"\\1\\"/'                        \
         -e 's/\\$(\\([^)]*\\))/${\\1}/g'                                \
-        < Makefile.am`"
+        < Makefile.inc`"
 
 #       Compile all programs.
 #       The list is found in variable "noinst_PROGRAMS"