summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <steinhardt.ptk@gmail.com>2013-06-18 17:44:15 +0200
committerAllan McRae <allan@archlinux.org>2013-06-26 15:32:16 +1000
commitdfcea1456da5df042f2ba2ba23efeb245436718f (patch)
tree63dcff337bd1306335a8fd98312399dc3da8464e /lib/libalpm/util.h
parentec831e05f58e3db1c06aadb23a87b5b82ab3ebf3 (diff)
downloadpacman-dfcea1456da5df042f2ba2ba23efeb245436718f.tar.xz
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 <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.h')
-rw-r--r--lib/libalpm/util.h1
1 files changed, 1 insertions, 0 deletions
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