summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-11-28 12:09:41 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-11-28 12:09:41 +0100
commit7148c0b2dd20f9ec58304ed6ab154e901dba1bea (patch)
tree50648e91513b74c4ef7ba23b9b851c61c6fbfbc8 /config.def.h
parentb66003a3cae3adad2183bbc010a3a28664323024 (diff)
downloadcqrlogo-7148c0b2dd20f9ec58304ed6ab154e901dba1bea.tar.gz
cqrlogo-7148c0b2dd20f9ec58304ed6ab154e901dba1bea.tar.zst
add configuration file
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 54f45b6..9712f30 100644
--- a/config.def.h
+++ b/config.def.h
@@ -8,6 +8,13 @@
#ifndef _CONFIG_H
#define _CONFIG_H
+/* path to the config file */
+#define CONFIGFILE "/etc/cqrlogo.conf"
+
+/* whether or not defaults or settings from config may be overwritten
+ * by query string */
+#define ALLOW_OVERWRITE 1
+
/* pixels are scaled up by this factor */
#define QRCODE_SCALE 2
/* this is the maximum scale factor */