summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-01 00:16:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-01 00:16:50 +0000
commitba339f8b1c55dd32211e8cffbc5bea02371d7668 (patch)
treebfa0ca848515ba177ae8286c8f408200017f5cc3 /include
parenta07a3f489771508a97fd7c017830f4922ddf9d4a (diff)
Add port type identifiers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6196 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/socket.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h
index cf2b9bf5b..1e6ca56a2 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -150,6 +150,7 @@ class ListenSocket : public EventHandler
/** The creator/owner of this object
*/
InspIRCd* ServerInstance;
+ std::string desc;
public:
/** Create a new listening socket
*/
@@ -160,6 +161,17 @@ class ListenSocket : public EventHandler
/** Close the socket
*/
~ListenSocket();
+ /** Set descriptive text
+ */
+ void SetDescription(const std::string &description)
+ {
+ desc = description;
+ }
+
+ const std::string& GetDescription()
+ {
+ return desc;
+ }
};
#endif