From 631b3bbe6eca9abdf47a0cde14d39a1e99b4ac8c Mon Sep 17 00:00:00 2001 From: "Gergely Polonkai (W00d5t0ck)" Date: Thu, 29 Mar 2012 18:47:56 +0200 Subject: [PATCH] Added some more text to game-networking.c documentation block. Signed-off-by: Gergely Polonkai (W00d5t0ck) --- wmud/game-networking.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wmud/game-networking.c b/wmud/game-networking.c index b0f3832..c88c7d7 100644 --- a/wmud/game-networking.c +++ b/wmud/game-networking.c @@ -36,7 +36,8 @@ * SECTION:game-networking * @short_description: Game related networking code * - * Functions to handle game connections + * Functions to handle game connections. Each connection has a #GSocket and a + * #GSource, associated with the game thread's #GMainContext. */ struct AcceptData { @@ -44,7 +45,11 @@ struct AcceptData { GSocketListener *listener; }; -GSList *clients; +/** + * clients: + * The full #GSList of the currently connected #wmudClient structs. + */ +GSList *clients = NULL; void wmud_client_interpret_newplayer_email(wmudClient *client); void wmud_client_interpret_newplayer_mailconfirm(wmudClient *client);