summaryrefslogtreecommitdiff
path: root/lib/config.h
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-03-05 16:39:28 +0100
committerhorchi <vdr@jwendel.de>2017-03-05 16:39:28 +0100
commite2a48d8701f91b8e24fbe9e99e91eb72a87bb749 (patch)
tree726f70554b4ca985a09ef6e30a7fdc8df089993c /lib/config.h
downloadvdr-epg-daemon-e2a48d8701f91b8e24fbe9e99e91eb72a87bb749.tar.gz
vdr-epg-daemon-e2a48d8701f91b8e24fbe9e99e91eb72a87bb749.tar.bz2
git init1.1.103
Diffstat (limited to 'lib/config.h')
-rw-r--r--lib/config.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/lib/config.h b/lib/config.h
new file mode 100644
index 0000000..a233bc3
--- /dev/null
+++ b/lib/config.h
@@ -0,0 +1,47 @@
+/*
+ * config.h:
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ */
+
+#ifndef __EPG_CONFIG_H
+#define __EPG_CONFIG_H
+
+#include "common.h"
+
+//***************************************************************************
+// Config
+//***************************************************************************
+
+struct cEpgConfig
+{
+ public:
+
+ cEpgConfig();
+
+ // database connection
+
+ int hasDbLoginChanged(cEpgConfig* old);
+
+ char dbHost[100+TB];
+ int dbPort;
+ char dbName[100+TB];
+ char dbUser[100+TB];
+ char dbPass[100+TB];
+
+ char netDevice[20+TB];
+ char uuid[sizeUuid+TB];
+
+ int getepgimages;
+
+ // static stuff
+
+ static int logstdout;
+ static int loglevel;
+ static int argLoglevel;
+ static int logFacility;
+ static const char* logName;
+};
+
+#endif // __EPG_CONFIG_H