- virtual ~RAD_SETTINGS(){};
- const string& GetStrError() const { return errorStr; };
- int ParseSettings(const MODULE_SETTINGS & s);
- uint16_t GetPort() const;
- int GetPassword(string * password) const;
- int GetAuthServices(list<string> * svcs) const;
- int GetAcctServices(list<string> * svcs) const;
+ RAD_SETTINGS()
+ : port(0), errorStr(), password(),
+ authServices(), acctServices()
+ {}
+ virtual ~RAD_SETTINGS() {}
+ const string & GetStrError() const { return errorStr; }
+ int ParseSettings(const MODULE_SETTINGS & s);
+ uint16_t GetPort() const { return port; }
+ const std::string & GetPassword() const { return password; }
+ const std::list<string> & GetAuthServices() const { return authServices; }
+ const std::list<string> & GetAcctServices() const { return acctServices; }