built-in jambase is packed now
[k8jam.git] / src / matchglob.h
blob0e7a1a0ebf30805d2a207bb0f2e51ceef279add4
1 /*
2 * Copyright 1994 Christopher Seiwald. All rights reserved.
4 * This file is part of Jam - see jam.c for Copyright information.
5 */
6 /*
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
15 * \x match x
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);
26 #endif