summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-11-04 11:19:30 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-11-04 11:19:30 +0100
commit13fd8f76079e7e9a0529754eb834fd93549d5a6b (patch)
tree31f9583db88678b612f61fdd12ee2ecf9a439da6 /config.def.h
parent3ea4fd22575e1d7f081b1777809a4aa9b6af8a0c (diff)
downloadpaccache-13fd8f76079e7e9a0529754eb834fd93549d5a6b.tar.gz
paccache-13fd8f76079e7e9a0529754eb834fd93549d5a6b.tar.zst
add configuration file for pacredir
This allows to ignore hosts on specified interfaces and add static hosts.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 72bf6a8..c81672e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -41,6 +41,11 @@
#define PACSERVE "_pacserve._tcp"
#define PACDBSERVE "_pacdbserve_" ARCH "._tcp"
+/* path to the config file */
+#define CONFIGFILE "/etc/pacredir.conf"
+/* these characters are used as delimiter in config file */
+#define DELIMITER " ,;"
+
/* this is where pacman stores its local copy of db files */
#define SYNCPATH "/var/lib/pacman/sync"