Commit e3a9804d authored by Patrick Monnerat's avatar Patrick Monnerat
Browse files

Fix OS400 scripts to make it compilable again.

Upgrade ILE/RPG binding to 7.21.7.
Update OS400 documentation accordingly.
parent 9c1f50c5
Loading
Loading
Loading
Loading
+21 −4
Original line number Diff line number Diff line
@@ -147,6 +147,10 @@ use:
        CURLINFO_EFFECTIVE_URL
        CURLINFO_CONTENT_TYPE
        CURLINFO_FTP_ENTRY_PATH
        CURLINFO_REDIRECT_URL
        CURLINFO_PRIMARY_IP
        CURLINFO_RTSP_SESSION_ID
        CURLINFO_LOCAL_IP
  Other options are processed like in curl_easy_getinfo().

  Standard compilation environment does support neither autotools nor make;
@@ -159,14 +163,27 @@ OS/400.


Protocols currently implemented on OS/400:
_ HTTP
_ HTTPS
_ DICT
_ FILE
_ FTP
_ FTPS
_ FTP with secure transmission.
_ FTP with secure transmission
_ GOPHER
_ HTTP
_ HTTPS
_ IMAP
_ IMAPS
_ IMAP with secure transmission
_ LDAP
_ DICT
_ POP3
_ POP3S
_ POP3 with secure transmission
_ RTSP
_ SMTP
_ SMTPS
_ SMTP with secure transmission
_ TELNET
_ TFTP



+12 −1
Original line number Diff line number Diff line
@@ -913,7 +913,7 @@
     d  CURLOPT_SHARE  c                   10100
     d  CURLOPT_PROXYTYPE...
     d                 c                   00101
     d  CURLOPT_ENCODING...
     d  CURLOPT_ACCEPT_ENCODING...
     d                 c                   10102
     d  CURLOPT_PRIVATE...
     d                 c                   10103
@@ -1105,6 +1105,12 @@
     d                 c                   10205
     d  CURLOPT_TLSAUTH_TYPE...
     d                 c                   10206
     d  CURLOPT_TRANSFER_ENCODING...
     d                 c                   00207
     d  CURLOPT_CLOSESOCKETFUNCTION...
     d                 c                   20208
     d  CURLOPT_CLOSESOCKETDATA...
     d                 c                   10209
      *
      /if not defined(CURL_NO_OLDIES)
     d  CURLOPT_SSLKEYPASSWD...
@@ -1117,6 +1123,8 @@
     d                 c                   00050
     d  CURLOPT_KRB4LEVEL...
     d                 c                   10063
     d  CURLOPT_ENCODING...
     d                 c                   10102
     d  CURLOPT_SERVER_RESPONSE_TIMEOUT...
     d                 c                   00112
     d  CURLOPT_FTP_SSL...
@@ -1621,6 +1629,9 @@
     d                 s               *   based(######ptr######) procptr
      *
     d curl_fnmatch_callback...
     d                 s               *   based(######ptr######) procptr
      *
     d curl_closesocket_callback...
     d                 s               *   based(######ptr######) procptr
      *
      **************************************************************************
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ db2_name()

{
        basename "${1}"                                                 |
        tr '[a-z-]' '[A-Z_]'                                            |
        tr 'a-z-' 'A-Z_'                                                |
        sed -e 's/\..*//'                                               \
            -e 's/^\(..........\).*/\1/'
}
+1 −3
Original line number Diff line number Diff line
@@ -46,9 +46,7 @@ make_module OS400SYS "${SCRIPTDIR}/os400sys.c"
make_module     CCSIDCURL       "${SCRIPTDIR}/ccsidcurl.c"

for SRC in ${CSOURCES}
do      MODULE=`basename "${SRC}" .c |
                tr '[a-z]' '[A-Z]'   |
                sed -e 's/^\(..........\).*/\1/'`
do      MODULE=`db2_name "${SRC}"`
        make_module "${MODULE}" "${SRC}"
done

+2 −0
Original line number Diff line number Diff line
@@ -22,6 +22,8 @@ cd libtest
#       _ Retain only lines that begins with "identifier =".
#       _ Turn these lines into shell variable assignments.

top_srcdir="${TOPDIR}"
export top_srcdir
eval "`sed -e ': begin'                                                 \
        -e '/\\\\$/{'                                                   \
        -e 'N'                                                          \