diff options
| author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-01-23 07:32:56 +0000 |
|---|---|---|
| committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-01-23 07:32:56 +0000 |
| commit | 01f32cf2881f781fa934623361a146e55fcca8b6 (patch) | |
| tree | c48dfedffd26ef58826ed918c9b4c1d029eb6252 /src/hostserv.c | |
| parent | ba7b29bba7ea10b4813d42efbc79c3a0bb01c461 (diff) | |
BUILD : 1.7.7 (555) BUGS : N/A NOTES : TS6 support, Ratbox support, lots of little bug fixes, updated documentation
git-svn-id: svn://svn.anope.org/anope/trunk@555 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@408 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/hostserv.c')
| -rw-r--r-- | src/hostserv.c | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/src/hostserv.c b/src/hostserv.c index 02e0c0c33..7a76dc668 100644 --- a/src/hostserv.c +++ b/src/hostserv.c @@ -81,15 +81,23 @@ void moduleAddHostServCmds(void) /*************************************************************************/ -/*************************************************************************/ -/* HostServ initialization. */ +/** + * HostServ initialization. + * @return void + */ void hostserv_init(void) { moduleAddHostServCmds(); } /*************************************************************************/ -/* Main HostServ routine. */ + +/** + * Main HostServ routine. + * @param u User Struct + * @param buf Buffer holding the message + * @return void + */ void hostserv(User * u, char *buf) { char *cmd, *s; @@ -115,8 +123,19 @@ void hostserv(User * u, char *buf) } /*************************************************************************/ -/* Start of Linked List routines */ +/* Start of Linked List routines */ /*************************************************************************/ + +/** + * Create HostCore list member + * @param next HostCore next slot + * @param nick Nick to add + * @param vIdent Virtual Ident + * @param vHost Virtual Host + * @param creator Person whom set the vhost + * @param time Time the vhost was Set + * @return HostCore + */ HostCore *createHostCorelist(HostCore * next, char *nick, char *vIdent, char *vHost, char *creator, int32 tmp_time) { @@ -158,12 +177,15 @@ HostCore *createHostCorelist(HostCore * next, char *nick, char *vIdent, } /*************************************************************************/ + /** * Returns either NULL for the head, or the location of the *PREVIOUS* * record, this is where we need to insert etc.. - * - * -rob - **/ + * @param head HostCore head + * @param nick Nick to find + * @param found If found + * @return HostCore + */ HostCore *findHostCore(HostCore * head, char *nick, boolean * found) { |
