From dfcea1456da5df042f2ba2ba23efeb245436718f Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Tue, 18 Jun 2013 17:44:15 +0200 Subject: Enable inverted patterns in NoExtract and NoUpgrade. It is now possible to invert patterns in NoExtract and NoUpgrade. This feature allows users to whitelist certain files that were previously blacklisted by another entry. Signed-off-by: Allan McRae --- lib/libalpm/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libalpm/util.h') diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h index 56031f3e..24b7c229 100644 --- a/lib/libalpm/util.h +++ b/lib/libalpm/util.h @@ -140,6 +140,7 @@ alpm_time_t _alpm_parsedate(const char *line); int _alpm_raw_cmp(const char *first, const char *second); int _alpm_raw_ncmp(const char *first, const char *second, size_t max); int _alpm_access(alpm_handle_t *handle, const char *dir, const char *file, int amode); +int _alpm_fnmatch_patterns(alpm_list_t *patterns, const char *string); int _alpm_fnmatch(const void *pattern, const void *string); #ifndef HAVE_STRSEP -- cgit v1.2.3-24-g4f1b