*/
const std::string name;
+ /** The description of this server
+ */
+ const std::string description;
+
/** True if this server is ulined
*/
bool uline;
bool silentuline;
public:
- Server(const std::string& srvname)
- : name(srvname), uline(false), silentuline(false) { }
+ Server(const std::string& srvname, const std::string& srvdesc)
+ : name(srvname), description(srvdesc), uline(false), silentuline(false) { }
/**
* Returns the name of this server
*/
const std::string& GetName() const { return name; }
+ /** Returns the description (GECOS) of this server
+ * @return The description of this server
+ */
+ const std::string& GetDesc() const { return description; }
+
/**
* Checks whether this server is ulined
* @return True if this server is ulined, false otherwise.