forbidden dirs: allow wildcard patterns

This commit is contained in:
Rudolf Polzer
2011-07-01 11:27:15 +02:00
parent 4cd61dfa7d
commit c75ae4296b
5 changed files with 88 additions and 4 deletions

7
include/filematch.h Normal file
View File

@@ -0,0 +1,7 @@
#if !defined(INCLUDED_FILEMATCH_H)
#define INCLUDED_FILEMATCH_H
int matchpattern(const char *in, const char *pattern, int caseinsensitive);
int matchpattern_with_separator(const char *in, const char *pattern, int caseinsensitive, const char *separators, int wildcard_least_one);
#endif