diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-12 18:03:02 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-12 18:03:02 +0000 |
commit | 572a7b503b434367e57ba1624f415e1c472e18a2 (patch) | |
tree | f69d65fc5a41d88b276cc6c42f6a16218ddb0023 /include/users.h | |
parent | 3a7fa1660c3d78f1f80f3502a8dae77642d3c3f9 (diff) |
Commented a lot of stuff that hasnt been commented since 1.0.2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3695 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h index dfd5c5e89..a5cba44b6 100644 --- a/include/users.h +++ b/include/users.h @@ -237,6 +237,8 @@ class userrec : public connection */ long recvqmax; + /** Default constructor + */ userrec(); /** Returns the full displayed host of the user @@ -334,21 +336,33 @@ class userrec : public connection */ InvitedList* GetInviteList(); - void MakeHost(char* nhost); - + /** Creates a wildcard host. + * Takes a buffer to use and fills the given buffer with the host in the format *!*@hostname + */ char* MakeWildHost(); + /** Creates a host. + * Takes a buffer to use and fills the given buffer with the host in the format nick!user@host + */ + void MakeHost(char* nhost); + /** Shuts down and closes the user's socket */ void CloseSocket(); + /** Default destructor + */ virtual ~userrec(); #ifdef THREADED_DNS + /** Thread used for threaded lookups + */ pthread_t dnsthread; #endif }; +/** Used to hold WHOWAS information + */ class WhoWasGroup { public: |