1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Fix OS400 scripts to make it compilable again.

Upgrade ILE/RPG binding to 7.21.7.
Update OS400 documentation accordingly.
This commit is contained in:
Patrick Monnerat 2011-07-14 17:07:35 +02:00
parent 9c1f50c583
commit e3a9804d3a
5 changed files with 37 additions and 9 deletions

View File

@ -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

View File

@ -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
*
**************************************************************************

View File

@ -155,7 +155,7 @@ db2_name()
{
basename "${1}" |
tr '[a-z-]' '[A-Z_]' |
tr 'a-z-' 'A-Z_' |
sed -e 's/\..*//' \
-e 's/^\(..........\).*/\1/'
}

View File

@ -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

View File

@ -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' \