summaryrefslogtreecommitdiff
path: root/lib/config.h
blob: a233bc339f7a449821f8e9ae574dba0ceb239736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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