Switch from bioq_insert_tail() to bioqdisksort(). When the kernel is
[dragonfly.git] / contrib / diffutils-2.8 / lib / exclude.h
bloba7e297110282527986cca669c7b6102acd8764bb
1 /* exclude.h -- declarations for excluding file names
3 Copyright (C) 1992, 1993, 1994, 1997, 1999, 2001, 2002, 2003 Free
4 Software Foundation, Inc.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; see the file COPYING.
18 If not, write to the Free Software Foundation,
19 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
21 /* Written by Paul Eggert <eggert@twinsun.com> */
23 /* Exclude options, which can be ORed with fnmatch options. */
25 /* Patterns must match the start of file names, instead of matching
26 anywhere after a '/'. */
27 #define EXCLUDE_ANCHORED (1 << 30)
29 /* Include instead of exclude. */
30 #define EXCLUDE_INCLUDE (1 << 29)
32 /* '?', '*', '[', and '\\' are special in patterns. Without this
33 option, these characters are ordinary and fnmatch is not used. */
34 #define EXCLUDE_WILDCARDS (1 << 28)
36 struct exclude;
38 struct exclude *new_exclude (void);
39 void free_exclude (struct exclude *);
40 void add_exclude (struct exclude *, char const *, int);
41 int add_exclude_file (void (*) (struct exclude *, char const *, int),
42 struct exclude *, char const *, int, char);
43 bool excluded_filename (struct exclude const *, char const *);