2 * Copyright 1994 Christopher Seiwald. All rights reserved.
4 * This file is part of Jam - see jam.c for Copyright information.
7 * matchglob.h - match a string against a simple pattern
9 * Understands the following patterns:
11 * * any number of characters
12 * ? any single character
13 * [a-z] any single character in the range a-z
14 * [^a-z] any single character not in the range a-z
17 #ifndef JAMH_MATCHGLOB_H
18 #define JAMH_MATCHGLOB_H
21 /* returns 0 on success */
22 extern int matchglob (const char *pat
, const char *str
);
23 extern int matchglobex (const char *pat
, const char *str
, int casesens
);