2
0

ccsidcurl.h 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /***************************************************************************
  2. * _ _ ____ _
  3. * Project ___| | | | _ \| |
  4. * / __| | | | |_) | |
  5. * | (__| |_| | _ <| |___
  6. * \___|\___/|_| \_\_____|
  7. *
  8. * Copyright (C) 1998 - 2008, 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. #ifndef __CURL_CCSIDCURL_H
  24. #define __CURL_CCSIDCURL_H
  25. #include "curl.h"
  26. #include "easy.h"
  27. #include "multi.h"
  28. CURL_EXTERN char * curl_version_ccsid(unsigned int ccsid);
  29. CURL_EXTERN char * curl_easy_escape_ccsid(CURL * handle,
  30. const char * string, int length,
  31. unsigned int sccsid,
  32. unsigned int dccsid);
  33. CURL_EXTERN char * curl_easy_unescape_ccsid(CURL * handle, const char * string,
  34. int length, int * outlength,
  35. unsigned int sccsid,
  36. unsigned int dccsid);
  37. CURL_EXTERN struct curl_slist * curl_slist_append_ccsid(struct curl_slist * lst,
  38. const char * data,
  39. unsigned int ccsid);
  40. CURL_EXTERN time_t curl_getdate_ccsid(const char * p, const time_t * unused,
  41. unsigned int ccsid);
  42. CURL_EXTERN curl_version_info_data * curl_version_info_ccsid(CURLversion stamp,
  43. unsigned int csid);
  44. CURL_EXTERN const char * curl_easy_strerror_ccsid(CURLcode error,
  45. unsigned int ccsid);
  46. CURL_EXTERN const char * curl_share_strerror_ccsid(CURLSHcode error,
  47. unsigned int ccsid);
  48. CURL_EXTERN const char * curl_multi_strerror_ccsid(CURLMcode error,
  49. unsigned int ccsid);
  50. CURL_EXTERN CURLcode curl_easy_getinfo_ccsid(CURL * curl, CURLINFO info, ...);
  51. CURL_EXTERN CURLFORMcode curl_formadd_ccsid(struct curl_httppost * * httppost,
  52. struct curl_httppost * * last_post,
  53. ...);
  54. CURL_EXTERN char * curl_form_long_value(long value);
  55. CURL_EXTERN int curl_formget_ccsid(struct curl_httppost * form, void * arg,
  56. curl_formget_callback append,
  57. unsigned int ccsid);
  58. CURL_EXTERN CURLcode curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...);
  59. #endif