summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2015-06-18 11:27:51 +0200
committerAllan McRae <allan@archlinux.org>2015-07-15 02:57:31 +0200
commitfd9ff672b0010650297e645c4fd1bd1cc320e3ef (patch)
treef998e589374739f6d6634fabe385f8135182bef6 /src/pacman/conf.h
parentacf95f6b3b6e2bef174da51e799bd07ce9f4cfd0 (diff)
downloadpacman-fd9ff672b0010650297e645c4fd1bd1cc320e3ef.tar.gz
pacman-fd9ff672b0010650297e645c4fd1bd1cc320e3ef.tar.xz
Add regex search option to sync database file searching
e.g. pacman -Fsx kcm.*print.*\.so Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r--src/pacman/conf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index 84b5a253..3fff9008 100644
--- a/src/pacman/conf.h
+++ b/src/pacman/conf.h
@@ -88,6 +88,8 @@ typedef struct __config_t {
unsigned short op_s_search;
unsigned short op_s_upgrade;
+ unsigned short op_f_regex;
+
unsigned short group;
unsigned short noask;
unsigned int ask;
@@ -187,6 +189,7 @@ enum {
OP_ROOT,
OP_RECURSIVE,
OP_SEARCH,
+ OP_REGEX,
OP_UNREQUIRED,
OP_UPGRADES,
OP_SYSUPGRADE,