# HG changeset patch # User Sergey Poznyakoff # Date 1148540540 0 # Node ID 47b6eeb68e9ebed763c1e5f5343eed05a8d0af26 # Parent ef94ee751cba9884f8ebdc0c521133e2d97d8c5e (excluded_file_name): New prototype diff --git a/lib/exclude.h b/lib/exclude.h --- a/lib/exclude.h +++ b/lib/exclude.h @@ -1,7 +1,7 @@ /* exclude.h -- declarations for excluding file names - Copyright (C) 1992, 1993, 1994, 1997, 1999, 2001, 2002, 2003, 2005 - Free Software Foundation, Inc. + Copyright (C) 1992, 1993, 1994, 1997, 1999, 2001, 2002, 2003, 2005, + 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -41,3 +41,4 @@ int add_exclude_file (void (*) (struct exclude *, char const *, int), struct exclude *, char const *, int, char); bool excluded_file_name (struct exclude const *, char const *); +bool exclude_fnmatch (char const *pattern, char const *f, int options);