mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
a1fa2b30c0
- Support CURLVERSION_ELEVENTH. - New function curl_url_strerror_ccsid(). - curl_easy_setopt_ccsid() supports blobs and 3 recent string options. - New function curl_easy_header_ccsid(). - New generic latin1<-->ccsid conversion functions curl_from_ccsid() and curl_to_ccsid() for user convenience. - README.OS400 updated accordingly. - Removed a leftover QsoSSL support identifier. Closes https://github.com/curl/curl/pull/10994
58 lines
1.7 KiB
C
58 lines
1.7 KiB
C
/***************************************************************************
|
|
* _ _ ____ _
|
|
* Project ___| | | | _ \| |
|
|
* / __| | | | |_) | |
|
|
* | (__| |_| | _ <| |___
|
|
* \___|\___/|_| \_\_____|
|
|
*
|
|
* Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
*
|
|
* This software is licensed as described in the file COPYING, which
|
|
* you should have received as part of this distribution. The terms
|
|
* are also available at https://curl.se/docs/copyright.html.
|
|
*
|
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
* copies of the Software, and permit persons to whom the Software is
|
|
* furnished to do so, under the terms of the COPYING file.
|
|
*
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
* KIND, either express or implied.
|
|
*
|
|
* SPDX-License-Identifier: curl
|
|
*
|
|
*
|
|
***************************************************************************/
|
|
|
|
/* OS/400 additional definitions. */
|
|
|
|
#ifndef __OS400_SYS_
|
|
#define __OS400_SYS_
|
|
|
|
|
|
/* Per-thread item identifiers. */
|
|
|
|
typedef enum {
|
|
LK_GSK_ERROR,
|
|
LK_LDAP_ERROR,
|
|
LK_CURL_VERSION,
|
|
LK_VERSION_INFO,
|
|
LK_VERSION_INFO_DATA,
|
|
LK_EASY_STRERROR,
|
|
LK_SHARE_STRERROR,
|
|
LK_MULTI_STRERROR,
|
|
LK_URL_STRERROR,
|
|
LK_ZLIB_VERSION,
|
|
LK_ZLIB_MSG,
|
|
LK_LAST
|
|
} localkey_t;
|
|
|
|
|
|
extern char * (* Curl_thread_buffer)(localkey_t key, long size);
|
|
|
|
|
|
/* Maximum string expansion factor due to character code conversion. */
|
|
|
|
#define MAX_CONV_EXPANSION 4 /* Can deal with UTF-8. */
|
|
|
|
#endif
|