aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2007-12-10 17:09:09 +0000
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2007-12-10 17:09:09 +0000
commita83e72692f6037c89dc9fc7b00c1b2a7a39c6508 (patch)
tree1dddb746c290ea78ea336f635b4daf201174e06d
parentbd99a7dc8c977c397003eed51d3ccb5648447d15 (diff)
Define new options in OS400 RPG interface
Port OS400 compilation scripts to >= V5R2M0
-rw-r--r--packages/OS400/README.OS4004
-rw-r--r--packages/OS400/curl.inc.in6
-rw-r--r--packages/OS400/initscript.sh2
-rw-r--r--packages/OS400/make-lib.sh2
4 files changed, 9 insertions, 5 deletions
diff --git a/packages/OS400/README.OS400 b/packages/OS400/README.OS400
index 3dad3ab5d..5a20f3021 100644
--- a/packages/OS400/README.OS400
+++ b/packages/OS400/README.OS400
@@ -181,8 +181,8 @@ objects:
_ Library CURL. All other objects will be stored in this library.
_ Modules for all libcurl units.
_ Binding directory CURL_A, to be used at calling program link time for
- statically binding the modules (specify BNDSRVPGM(QADRTTS) when creating a
- program using CURL_A).
+ statically binding the modules (specify BNDSRVPGM(QADRTTS QGLDCLNT QGLDBRDR)
+ when creating a program using CURL_A).
_ Service program CURL, to be used at calling program run-time when this program
has dynamically bound curl at link time.
_ Binding directory CURL. To be used to dynamically bind libcurl when linking a
diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in
index aad62ecd4..c69d8bed6 100644
--- a/packages/OS400/curl.inc.in
+++ b/packages/OS400/curl.inc.in
@@ -552,7 +552,7 @@
d c 00061
d CURLOPT_INTERFACE...
d c 10062
- d CURLOPT_KRB4LEVEL...
+ d CURLOPT_KRBLEVEL...
d c 10063
d CURLOPT_SSL_VERIFYPEER...
d c 00064
@@ -731,6 +731,10 @@
d c 20163
d CURLOPT_OPENSOCKETDATA...
d c 10164
+ d CURLOPT_COPYPOSTFIELDS...
+ d c 10165
+ d CURLOPT_PROXY_TRANSFER_MODE...
+ d c 00166
*
d CURLFORMcode s 10i 0 based(######ptr######) Enum
d CURL_FORMADD_OK...
diff --git a/packages/OS400/initscript.sh b/packages/OS400/initscript.sh
index 60d7de229..f32e8915b 100644
--- a/packages/OS400/initscript.sh
+++ b/packages/OS400/initscript.sh
@@ -35,7 +35,7 @@ TGTCCSID='500' # Target CCSID of objects
DEBUG='*ALL' # Debug level
OPTIMIZE='10' # Optimisation level
OUTPUT='*NONE' # Compilation output option.
-TGTRLS='V5R1M0' # Target OS release
+TGTRLS='V5R2M0' # Target OS release
export TARGETLIB STATBNDDIR DYNBNDDIR SRVPGM TGTCCSID DEBUG OPTIMIZE OUTPUTC
export TGTRLS
diff --git a/packages/OS400/make-lib.sh b/packages/OS400/make-lib.sh
index c41e68f1f..d2a7a050f 100644
--- a/packages/OS400/make-lib.sh
+++ b/packages/OS400/make-lib.sh
@@ -138,7 +138,7 @@ then CMD="CRTSRVPGM SRVPGM(${TARGETLIB}/${SRVPGM})"
CMD="${CMD} SRCFILE(${TARGETLIB}/TOOLS) SRCMBR(BNDSRC)"
CMD="${CMD} MODULE(${TARGETLIB}/OS400)"
CMD="${CMD} BNDDIR(${TARGETLIB}/${STATBNDDIR})"
- CMD="${CMD} BNDSRVPGM(QADRTTS)"
+ CMD="${CMD} BNDSRVPGM(QADRTTS QGLDCLNT QGLDBRDR)"
CMD="${CMD} TEXT('curl API library')"
CMD="${CMD} TGTRLS(${TGTRLS})"
system "${CMD}"