00001 /* exclude.h -- declarations for excluding file names 00002 Copyright 1992, 1993, 1994, 1997, 1999 Free Software Foundation, Inc. 00003 00004 This program is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2, or (at your option) 00007 any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; see the file COPYING. 00016 If not, write to the Free Software Foundation, 00017 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 00018 00019 /* Written by Paul Eggert <eggert@twinsun.com> */ 00020 00021 #ifndef PARAMS 00022 # if defined PROTOTYPES || (defined __STDC__ && __STDC__) 00023 # define PARAMS(Args) Args 00024 # else 00025 # define PARAMS(Args) () 00026 # endif 00027 #endif 00028 00029 struct exclude; 00030 00031 struct exclude *new_exclude PARAMS ((void)); 00032 void add_exclude PARAMS ((struct exclude *, char const *)); 00033 int add_exclude_file PARAMS ((void (*) (struct exclude *, char const *), 00034 struct exclude *, char const *, char)); 00035 int excluded_filename PARAMS ((struct exclude const *, char const *, int));