X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fwho.c;h=abd807705c2da521160562ac6fd838af96e93b11;hp=341b9bdf6f15f4842d58f5cbb31aed8e64884b3a;hb=44c30618e25ce2eb103b87e84e10dcd51dad0879;hpb=b3ca5b5b2ee3b554151da3a3ace7945ccfec3a82 diff --git a/webcit/who.c b/webcit/who.c index 341b9bdf6..abd807705 100644 --- a/webcit/who.c +++ b/webcit/who.c @@ -1,15 +1,16 @@ /* * $Id$ - * - * Display a list of all users currently logged on to the Citadel server. */ - +/** + * \defgroup DislpayWho Display a list of all users currently logged on to the Citadel server. + */ +/*@{*/ #include "webcit.h" -/* - * Display inner div of Wholist +/** + * \brief Display inner div of Wholist */ void who_inner_div(void) { char buf[SIZ], user[SIZ], room[SIZ], host[SIZ], @@ -64,7 +65,7 @@ void who_inner_div(void) { } wprintf(""); - /* (link to page this user) */ + /** (link to page this user) */ wprintf("" @@ -74,7 +75,7 @@ void who_inner_div(void) { " border=\"0\" /> "); wprintf(""); - /* (idle flag) */ + /** (idle flag) */ wprintf(""); if ((now - last_activity) > 900L) { wprintf(" " @@ -92,14 +93,14 @@ void who_inner_div(void) { - /* username (link to user bio/photo page) */ + /** username (link to user bio/photo page) */ wprintf(""); escputs(user); wprintf(""); - /* room */ + /** room */ wprintf("\n\t"); escputs(room); if (strlen(realroom) > 0) { @@ -109,7 +110,7 @@ void who_inner_div(void) { } wprintf("\n\t"); - /* hostname */ + /** hostname */ escputs(host); if (strlen(realhost) > 0) { wprintf("
"); @@ -123,8 +124,8 @@ void who_inner_div(void) { } -/* - * who is on? +/** + * \brief who is on? */ void who(void) { @@ -167,7 +168,8 @@ void who(void) ); wprintf("\n"); - /* JavaScript to make the ajax refresh happen: + /** + * JavaScript to make the ajax refresh happen: * See http://www.sergiopereira.com/articles/prototype.js.html for info on Ajax.PeriodicalUpdater * It wants: 1. The div being updated * 2. The URL of the update source @@ -182,7 +184,9 @@ void who(void) wDumpContent(1); } - +/** + * \brief end session \todo what??? does this belong here? + */ void terminate_session(void) { char buf[SIZ]; @@ -193,8 +197,8 @@ void terminate_session(void) } -/* - * Change your session info (fake roomname and hostname) +/** + * \brief Change your session info (fake roomname and hostname) */ void edit_me(void) { @@ -271,3 +275,6 @@ void edit_me(void) wDumpContent(1); } } + + +/*@}*/