diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2018-05-30 00:38:37 +0200 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2018-05-30 00:38:37 +0200 |
commit | c2dc7d9c6cce8881d5e5458c5b75f694bce0335d (patch) | |
tree | c6cb7984bd875dfe9768b56cf8ce9a1454ede6ff /packages/OS400/ccsidcurl.h | |
parent | 050c93c46f5bc880897152419200e60da56b46e0 (diff) |
os400: implement mime api EBCDIC wrappers
Also sync ILE/RPG binding to define the new functions.
Diffstat (limited to 'packages/OS400/ccsidcurl.h')
-rw-r--r-- | packages/OS400/ccsidcurl.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/packages/OS400/ccsidcurl.h b/packages/OS400/ccsidcurl.h index 5bd24cf36..a65dfbc2a 100644 --- a/packages/OS400/ccsidcurl.h +++ b/packages/OS400/ccsidcurl.h @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2018, 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 @@ -67,5 +67,23 @@ CURL_EXTERN char *curl_pushheader_byname_ccsid(struct curl_pushheaders *h, const char *header, unsigned int ccsidin, unsigned int ccsidout); +CURL_EXTERN CURLcode curl_mime_name_ccsid(curl_mimepart *part, + const char *name, + unsigned int ccsid); +CURL_EXTERN CURLcode curl_mime_filename_ccsid(curl_mimepart *part, + const char *filename, + unsigned int ccsid); +CURL_EXTERN CURLcode curl_mime_type_ccsid(curl_mimepart *part, + const char *mimetype, + unsigned int ccsid); +CURL_EXTERN CURLcode curl_mime_encoder_ccsid(curl_mimepart *part, + const char *encoding, + unsigned int ccsid); +CURL_EXTERN CURLcode curl_mime_filedata_ccsid(curl_mimepart *part, + const char *filename, + unsigned int ccsid); +CURL_EXTERN CURLcode curl_mime_data_ccsid(curl_mimepart *part, + const char *data, size_t datasize, + unsigned int ccsid); #endif |