exclude.h 1.3 KB

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