curl_hostcheck.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef HEADER_TOOL_CURL_HOSTCHECK_H
  2. #define HEADER_TOOL_CURL_HOSTCHECK_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /***************************************************************************
  7. * _ _ ____ _
  8. * Project ___| | | | _ \| |
  9. * / __| | | | |_) | |
  10. * | (__| |_| | _ <| |___
  11. * \___|\___/|_| \_\_____|
  12. *
  13. * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
  14. *
  15. * This software is licensed as described in the file COPYING, which
  16. * you should have received as part of this distribution. The terms
  17. * are also available at http://curl.haxx.se/docs/copyright.html.
  18. *
  19. * You may opt to use, copy, modify, merge, publish, distribute and/or sell
  20. * copies of the Software, and permit persons to whom the Software is
  21. * furnished to do so, under the terms of the COPYING file.
  22. *
  23. * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  24. * KIND, either express or implied.
  25. *
  26. ***************************************************************************/
  27. #define CURL_HOST_NOMATCH 0
  28. #define CURL_HOST_MATCH 1
  29. int Tool_Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif /* HEADER_CURL_HOSTCHECK_H */