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