/*
* $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],
}
wprintf("</td>");
- /* (link to page this user) */
+ /** (link to page this user) */
wprintf("<td><a href=\"display_page?recp=");
urlescputs(user);
wprintf("\">"
" border=\"0\" /></a> ");
wprintf("</td>");
- /* (idle flag) */
+ /** (idle flag) */
wprintf("<td>");
if ((now - last_activity) > 900L) {
wprintf(" "
- /* username (link to user bio/photo page) */
+ /** username (link to user bio/photo page) */
wprintf("<a href=\"showuser?who=");
urlescputs(user);
wprintf("\">");
escputs(user);
wprintf("</a>");
- /* room */
+ /** room */
wprintf("</td>\n\t<td>");
escputs(room);
if (strlen(realroom) > 0) {
}
wprintf("</td>\n\t<td>");
- /* hostname */
+ /** hostname */
escputs(host);
if (strlen(realhost) > 0) {
wprintf("<br /><i>");
}
-/*
- * who is on?
+/**
+ * \brief who is on?
*/
void who(void)
{
);
wprintf("</div>\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
wDumpContent(1);
}
-
+/**
+ * \brief end session \todo what??? does this belong here?
+ */
void terminate_session(void)
{
char buf[SIZ];
}
-/*
- * Change your session info (fake roomname and hostname)
+/**
+ * \brief Change your session info (fake roomname and hostname)
*/
void edit_me(void)
{
wDumpContent(1);
}
}
+
+
+/*@}*/