curlx.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #ifndef HEADER_CURL_CURLX_H
  2. #define HEADER_CURL_CURLX_H
  3. /***************************************************************************
  4. * _ _ ____ _
  5. * Project ___| | | | _ \| |
  6. * / __| | | | |_) | |
  7. * | (__| |_| | _ <| |___
  8. * \___|\___/|_| \_\_____|
  9. *
  10. * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  11. *
  12. * This software is licensed as described in the file COPYING, which
  13. * you should have received as part of this distribution. The terms
  14. * are also available at https://curl.se/docs/copyright.html.
  15. *
  16. * You may opt to use, copy, modify, merge, publish, distribute and/or sell
  17. * copies of the Software, and permit persons to whom the Software is
  18. * furnished to do so, under the terms of the COPYING file.
  19. *
  20. * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  21. * KIND, either express or implied.
  22. *
  23. * SPDX-License-Identifier: curl
  24. *
  25. ***************************************************************************/
  26. /*
  27. * Defines protos and includes all header files that provide the curlx_*
  28. * functions. The curlx_* functions are not part of the libcurl API, but are
  29. * stand-alone functions whose sources can be built and linked by apps if need
  30. * be.
  31. */
  32. /* map standard printf functions to curl implementations */
  33. #include "curl_printf.h"
  34. #include "strcase.h"
  35. /* "strcase.h" provides the strcasecompare protos */
  36. #include "strtoofft.h"
  37. /* "strtoofft.h" provides this function: curlx_strtoofft(), returns a
  38. curl_off_t number from a given string.
  39. */
  40. #include "nonblock.h"
  41. /* "nonblock.h" provides curlx_nonblock() */
  42. #include "warnless.h"
  43. /* "warnless.h" provides functions:
  44. curlx_ultous()
  45. curlx_ultouc()
  46. curlx_uztosi()
  47. */
  48. #include "curl_multibyte.h"
  49. /* "curl_multibyte.h" provides these functions and macros:
  50. curlx_convert_UTF8_to_wchar()
  51. curlx_convert_wchar_to_UTF8()
  52. curlx_convert_UTF8_to_tchar()
  53. curlx_convert_tchar_to_UTF8()
  54. curlx_unicodefree()
  55. */
  56. #include "version_win32.h"
  57. /* "version_win32.h" provides curlx_verify_windows_version() */
  58. #endif /* HEADER_CURL_CURLX_H */