ccsidcurl.h 3.2 KB

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