File: wildmat.h

package info (click to toggle)
sn 0.3.4a-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 784 kB
  • ctags: 826
  • sloc: ansic: 9,023; sh: 339; makefile: 208
file content (20 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * This file is part of the sn package.
 * Distribution of sn is covered by the GNU GPL. See file COPYING.
 * Copyright  1998-2000 Harold Tay.
 * Copyright  2000- Patrik Rdman.
 */

#ifndef WILDMAT_H
#define WILDMAT_H

/*
 * Case-insensitive globbing.  Returns 1 if pattern matches the
 * candidate string entirely, else 0.  Supported glob features are *,
 * ? [] including - as a range.  Leading . is not special.  Newlines
 * are not special.  Please don't send bad glob patterns!
 */

extern int wildmat (char *candidate, char *pattern);

#endif