- string GetDBUser() const;
- string GetDBPassword() const;
- string GetDBHost() const;
- string GetDBName() const;
+ const string & GetDBUser() const { return dbUser; }
+ const string & GetDBPassword() const { return dbPass; }
+ const string & GetDBHost() const { return dbHost; }
+ const string & GetDBName() const { return dbName; }
const MODULE_SETTINGS * settings;
int ParseParam(const vector<PARAM_VALUE> & moduleParams,
const MODULE_SETTINGS * settings;
int ParseParam(const vector<PARAM_VALUE> & moduleParams,
virtual int AddService(const string &) const {return 0;};
virtual int DelService(const string &) const {return 0;};
virtual int AddService(const string &) const {return 0;};
virtual int DelService(const string &) const {return 0;};
- int GetAllParams(vector<string> * ParamList, const string & table, const string & name) const;
- int CheckAllTables(MYSQL * sock);
- bool IsTablePresent(const string & str,MYSQL * sock);
+ int GetAllParams(vector<string> * ParamList, const string & table, const string & name) const;
+ int CheckAllTables(MYSQL * sock);
+ bool IsTablePresent(const string & str,MYSQL * sock);
int MysqlGetQuery(const char * Query,MYSQL * & sock) const;
int MysqlSetQuery(const char * Query) const;
MYSQL * MysqlConnect() const ;
string version;
MYSQL_STORE_SETTINGS storeSettings;
MODULE_SETTINGS settings;
int MysqlGetQuery(const char * Query,MYSQL * & sock) const;
int MysqlSetQuery(const char * Query) const;
MYSQL * MysqlConnect() const ;
string version;
MYSQL_STORE_SETTINGS storeSettings;
MODULE_SETTINGS settings;