|
|
|
|
@ -115,6 +115,12 @@ typedef struct {
|
|
|
|
|
bool enabled;
|
|
|
|
|
} TDCS;
|
|
|
|
|
|
|
|
|
|
#ifdef USE_DRATS
|
|
|
|
|
typedef struct {
|
|
|
|
|
bool enabled;
|
|
|
|
|
} TDRats;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
bool enabled;
|
|
|
|
|
std::string url;
|
|
|
|
|
@ -164,6 +170,9 @@ public:
|
|
|
|
|
#endif
|
|
|
|
|
void getDaemon(TDaemon & gen) const;
|
|
|
|
|
void getAccessControl(TAccessControl & accessControl) const;
|
|
|
|
|
#ifdef USE_DRATS
|
|
|
|
|
void getDRats(TDRats & drats) const;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
bool open(CConfig & cfg);
|
|
|
|
|
@ -183,6 +192,9 @@ private:
|
|
|
|
|
#endif
|
|
|
|
|
bool loadDaemon(const CConfig & cfg);
|
|
|
|
|
bool loadAccessControl(const CConfig & cfg);
|
|
|
|
|
#ifdef USE_DRATS
|
|
|
|
|
bool loadDRats(const CConfig & cfg);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
std::string m_fileName;
|
|
|
|
|
TGateway m_gateway;
|
|
|
|
|
@ -199,6 +211,9 @@ private:
|
|
|
|
|
#endif
|
|
|
|
|
TDaemon m_daemon;
|
|
|
|
|
TAccessControl m_accessControl;
|
|
|
|
|
#ifdef USE_DRATS
|
|
|
|
|
TDRats m_drats;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
std::vector<TRepeater *> m_repeaters;
|
|
|
|
|
std::vector<TircDDB *> m_ircDDB;
|
|
|
|
|
|