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

New options added to OS400 wrapper and ILERPG definitions.

Wrong defines (typos) for QSSL layer fixed.
This commit is contained in:
Patrick Monnerat 2008-07-07 10:39:46 +00:00
parent d816a11bca
commit ddfa4b8896
3 changed files with 18 additions and 4 deletions

View File

@ -51,9 +51,9 @@ size_t Curl_qsossl_version(char * buffer, size_t size);
int Curl_qsossl_check_cxn(struct connectdata * cxn);
/* API setup for QsoSSL */
#define curlssl_init Curl_qossl_init
#define curlssl_cleanup Curl_qossl_cleanup
#define curlssl_connect Curl_qossl_connect
#define curlssl_init Curl_qsossl_init
#define curlssl_cleanup Curl_qsossl_cleanup
#define curlssl_connect Curl_qsossl_connect
/* No session handling for QsoSSL */
#define curlssl_session_free(x)

View File

@ -1030,7 +1030,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...)
if (testwarn) {
testwarn = 0;
if ((int) STRING_LAST != (int) STRING_SSH_HOST_PUBLIC_KEY_MD5 + 1)
if ((int) STRING_LAST != (int) STRING_SSL_ISSUERCERT + 1)
curl_mfprintf(stderr,
"*** WARNING: curl_easy_setopt_ccsid() should be reworked ***\n");
}
@ -1073,6 +1073,8 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...)
case CURLOPT_USERAGENT:
case CURLOPT_USERPWD:
case CURLOPT_SSH_HOST_PUBLIC_KEY_MD5:
case CURLOPT_CRLFILE:
case CURLOPT_ISSUERCERT:
s = va_arg(arg, char *);
ccsid = va_arg(arg, unsigned int);

View File

@ -384,6 +384,10 @@
d c 80
d CURLE_AGAIN...
d c 81
d CURLE_SSL_CRL_BADFILE...
d c 82
d CURLE_SSL_ISSUER_ERROR...
d c 83
*
d curlioerr s 10i 0 based(######ptr######) Enum
d CURLIOE_OK c 0
@ -761,6 +765,10 @@
d c 20167
d CURLOPT_SEEKDATA...
d c 10168
d CURLOPT_CRLFILE...
d c 10169
d CURLOPT_ISSUERCERT...
d c 10170
*
d CURLFORMcode s 10i 0 based(######ptr######) Enum
d CURL_FORMADD_OK...
@ -885,6 +893,10 @@
d c X'0010001E'
d CURLINFO_REDIRECT_URL... CURLINFO_STRING + 31
d c X'0010001F'
d CURLINFO_PRIMARY_IP... CURLINFO_STRING + 32
d c X'00100020'
d CURLINFO_APPCONNECT_TIME... CURLINFO_DOUBLE + 33
d c X'00300021'
d CURLINFO_HTTP_CODE... Old ...RESPONSE_CODE
d c X'00200002'
*