curl_fnmatch.h
Go to the documentation of this file.
00001 #ifndef HEADER_CURL_FNMATCH_H
00002 #define HEADER_CURL_FNMATCH_H
00003 /***************************************************************************
00004  *                                  _   _ ____  _
00005  *  Project                     ___| | | |  _ \| |
00006  *                             / __| | | | |_) | |
00007  *                            | (__| |_| |  _ <| |___
00008  *                             \___|\___/|_| \_\_____|
00009  *
00010  * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
00011  *
00012  * This software is licensed as described in the file COPYING, which
00013  * you should have received as part of this distribution. The terms
00014  * are also available at https://curl.haxx.se/docs/copyright.html.
00015  *
00016  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
00017  * copies of the Software, and permit persons to whom the Software is
00018  * furnished to do so, under the terms of the COPYING file.
00019  *
00020  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
00021  * KIND, either express or implied.
00022  *
00023  ***************************************************************************/
00024 
00025 #define CURL_FNMATCH_MATCH    0
00026 #define CURL_FNMATCH_NOMATCH  1
00027 #define CURL_FNMATCH_FAIL     2
00028 
00029 /* default pattern matching function
00030  * =================================
00031  * Implemented with recursive backtracking, if you want to use Curl_fnmatch,
00032  * please note that there is not implemented UTF/UNICODE support.
00033  *
00034  * Implemented features:
00035  * '?' notation, does not match UTF characters
00036  * '*' can also work with UTF string
00037  * [a-zA-Z0-9] enumeration support
00038  *
00039  * keywords: alnum, digit, xdigit, alpha, print, blank, lower, graph, space
00040  *           and upper (use as "[[:alnum:]]")
00041  */
00042 int Curl_fnmatch(void *ptr, const char *pattern, const char *string);
00043 
00044 #endif /* HEADER_CURL_FNMATCH_H */


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:02