#ifndef HEADER_CURL_FNMATCH_H1#define HEADER_CURL_FNMATCH_H2/***************************************************************************3* _ _ ____ _4* Project ___| | | | _ \| |5* / __| | | | |_) | |6* | (__| |_| | _ <| |___7* \___|\___/|_| \_\_____|8*9* Copyright (C) Daniel Stenberg, <[email protected]>, et al.10*11* This software is licensed as described in the file COPYING, which12* you should have received as part of this distribution. The terms13* are also available at https://curl.se/docs/copyright.html.14*15* You may opt to use, copy, modify, merge, publish, distribute and/or sell16* copies of the Software, and permit persons to whom the Software is17* furnished to do so, under the terms of the COPYING file.18*19* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY20* KIND, either express or implied.21*22* SPDX-License-Identifier: curl23*24***************************************************************************/2526#define CURL_FNMATCH_MATCH 027#define CURL_FNMATCH_NOMATCH 128#define CURL_FNMATCH_FAIL 22930/* default pattern matching function31* =================================32* Implemented with recursive backtracking, if you want to use Curl_fnmatch,33* please note that there is not implemented UTF/Unicode support.34*35* Implemented features:36* '?' notation, does not match UTF characters37* '*' can also work with UTF string38* [a-zA-Z0-9] enumeration support39*40* keywords: alnum, digit, xdigit, alpha, print, blank, lower, graph, space41* and upper (use as "[[:alnum:]]")42*/43int Curl_fnmatch(void *ptr, const char *pattern, const char *string);4445#endif /* HEADER_CURL_FNMATCH_H */464748