Go to the documentation of this file.00001 #ifndef HEADER_CURL_NON_ASCII_H
00002 #define HEADER_CURL_NON_ASCII_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #include "curl_setup.h"
00025
00026 #ifdef CURL_DOES_CONVERSIONS
00027
00028 #include "urldata.h"
00029
00030
00031
00032
00033
00034
00035
00036 CURLcode Curl_convert_clone(struct Curl_easy *data,
00037 const char *indata,
00038 size_t insize,
00039 char **outbuf);
00040
00041 void Curl_convert_init(struct Curl_easy *data);
00042 void Curl_convert_setup(struct Curl_easy *data);
00043 void Curl_convert_close(struct Curl_easy *data);
00044
00045 CURLcode Curl_convert_to_network(struct Curl_easy *data,
00046 char *buffer, size_t length);
00047 CURLcode Curl_convert_from_network(struct Curl_easy *data,
00048 char *buffer, size_t length);
00049 CURLcode Curl_convert_from_utf8(struct Curl_easy *data,
00050 char *buffer, size_t length);
00051 CURLcode Curl_convert_form(struct Curl_easy *data, struct FormData *form);
00052 #else
00053 #define Curl_convert_clone(a,b,c,d) ((void)a, CURLE_OK)
00054 #define Curl_convert_init(x) Curl_nop_stmt
00055 #define Curl_convert_setup(x) Curl_nop_stmt
00056 #define Curl_convert_close(x) Curl_nop_stmt
00057 #define Curl_convert_to_network(a,b,c) ((void)a, CURLE_OK)
00058 #define Curl_convert_from_network(a,b,c) ((void)a, CURLE_OK)
00059 #define Curl_convert_from_utf8(a,b,c) ((void)a, CURLE_OK)
00060 #define Curl_convert_form(a,b) CURLE_OK
00061 #endif
00062
00063 #endif