diff options
author | horchi <vdr@jwendel.de> | 2017-03-05 14:51:57 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-03-05 14:51:57 +0100 |
commit | 5eacf5bf36ddbac082a9e40a2bcdfd0f04fd3f9f (patch) | |
tree | 392875cb707b94aaba9d8941113eae35efaf2ec2 /lib/config.h | |
download | vdr-plugin-epg2vdr-5eacf5bf36ddbac082a9e40a2bcdfd0f04fd3f9f.tar.gz vdr-plugin-epg2vdr-5eacf5bf36ddbac082a9e40a2bcdfd0f04fd3f9f.tar.bz2 |
Diffstat (limited to 'lib/config.h')
-rw-r--r-- | lib/config.h | 47 |
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 |