#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***************************************************************************/25#define CURL_FNMATCH_MATCH 026#define CURL_FNMATCH_NOMATCH 127#define CURL_FNMATCH_FAIL 22829/* default pattern matching function30* =================================31* Implemented with recursive backtracking, if you want to use Curl_fnmatch,32* please note that there is not implemented UTF/Unicode support.33*34* Implemented features:35* '?' notation, does not match UTF characters36* '*' can also work with UTF string37* [a-zA-Z0-9] enumeration support38*39* keywords: alnum, digit, xdigit, alpha, print, blank, lower, graph, space40* and upper (use as "[[:alnum:]]")41*/42int Curl_fnmatch(void *ptr, const char *pattern, const char *string);4344#endif /* HEADER_CURL_FNMATCH_H */454647