1/***************************************************************************
2 *                                  _   _ ____  _
3 *  Project                     ___| | | |  _ \| |
4 *                             / __| | | | |_) | |
5 *                            | (__| |_| |  _ <| |___
6 *                             \___|\___/|_| \_\_____|
7 *
8 * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
9 *
10 * This software is licensed as described in the file COPYING, which
11 * you should have received as part of this distribution. The terms
12 * are also available at http://curl.haxx.se/docs/copyright.html.
13 *
14 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
15 * copies of the Software, and permit persons to whom the Software is
16 * furnished to do so, under the terms of the COPYING file.
17 *
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
20 *
21 *
22 ***************************************************************************/
23
24#ifndef __CURL_CCSIDCURL_H
25#define __CURL_CCSIDCURL_H
26
27#include "curl.h"
28#include "easy.h"
29#include "multi.h"
30
31
32CURL_EXTERN char * curl_version_ccsid(unsigned int ccsid);
33CURL_EXTERN char * curl_easy_escape_ccsid(CURL * handle,
34                                          const char * string, int length,
35                                          unsigned int sccsid,
36                                          unsigned int dccsid);
37CURL_EXTERN char * curl_easy_unescape_ccsid(CURL * handle, const char * string,
38                                            int length, int * outlength,
39                                            unsigned int sccsid,
40                                            unsigned int dccsid);
41CURL_EXTERN struct curl_slist * curl_slist_append_ccsid(struct curl_slist * l,
42                                                        const char * data,
43                                                        unsigned int ccsid);
44CURL_EXTERN time_t curl_getdate_ccsid(const char * p, const time_t * unused,
45                                      unsigned int ccsid);
46CURL_EXTERN curl_version_info_data * curl_version_info_ccsid(CURLversion stamp,
47                                                             unsigned int cid);
48CURL_EXTERN const char * curl_easy_strerror_ccsid(CURLcode error,
49                                                  unsigned int ccsid);
50CURL_EXTERN const char * curl_share_strerror_ccsid(CURLSHcode error,
51                                                   unsigned int ccsid);
52CURL_EXTERN const char * curl_multi_strerror_ccsid(CURLMcode error,
53                                                   unsigned int ccsid);
54CURL_EXTERN CURLcode curl_easy_getinfo_ccsid(CURL * curl, CURLINFO info, ...);
55CURL_EXTERN CURLFORMcode curl_formadd_ccsid(struct curl_httppost * * httppost,
56                                            struct curl_httppost * * last_post,
57                                            ...);
58CURL_EXTERN char * curl_form_long_value(long value);
59CURL_EXTERN int curl_formget_ccsid(struct curl_httppost * form, void * arg,
60                                   curl_formget_callback append,
61                                   unsigned int ccsid);
62CURL_EXTERN CURLcode curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...);
63CURL_EXTERN void curl_certinfo_free_all(struct curl_certinfo *info);
64
65#endif
66