1*a8fa202aSchristos /* $NetBSD: exclude.h,v 1.1.1.1 2016/01/10 21:36:18 christos Exp $ */ 2*a8fa202aSchristos 3*a8fa202aSchristos /* exclude.h -- declarations for excluding file names 4*a8fa202aSchristos Copyright 1992, 1993, 1994, 1997, 1999 Free Software Foundation, Inc. 5*a8fa202aSchristos 6*a8fa202aSchristos This program is free software; you can redistribute it and/or modify 7*a8fa202aSchristos it under the terms of the GNU General Public License as published by 8*a8fa202aSchristos the Free Software Foundation; either version 2, or (at your option) 9*a8fa202aSchristos any later version. 10*a8fa202aSchristos 11*a8fa202aSchristos This program is distributed in the hope that it will be useful, 12*a8fa202aSchristos but WITHOUT ANY WARRANTY; without even the implied warranty of 13*a8fa202aSchristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14*a8fa202aSchristos GNU General Public License for more details. 15*a8fa202aSchristos 16*a8fa202aSchristos You should have received a copy of the GNU General Public License 17*a8fa202aSchristos along with this program; see the file COPYING. 18*a8fa202aSchristos If not, write to the Free Software Foundation, 19*a8fa202aSchristos 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 20*a8fa202aSchristos 21*a8fa202aSchristos /* Written by Paul Eggert <eggert@twinsun.com> */ 22*a8fa202aSchristos 23*a8fa202aSchristos #ifndef PARAMS 24*a8fa202aSchristos # if defined PROTOTYPES || (defined __STDC__ && __STDC__) 25*a8fa202aSchristos # define PARAMS(Args) Args 26*a8fa202aSchristos # else 27*a8fa202aSchristos # define PARAMS(Args) () 28*a8fa202aSchristos # endif 29*a8fa202aSchristos #endif 30*a8fa202aSchristos 31*a8fa202aSchristos struct exclude; 32*a8fa202aSchristos 33*a8fa202aSchristos struct exclude *new_exclude PARAMS ((void)); 34*a8fa202aSchristos void add_exclude PARAMS ((struct exclude *, char const *)); 35*a8fa202aSchristos int add_exclude_file PARAMS ((void (*) (struct exclude *, char const *), 36*a8fa202aSchristos struct exclude *, char const *, char)); 37*a8fa202aSchristos int excluded_filename PARAMS ((struct exclude const *, char const *, int)); 38