Added some more text to game-networking.c documentation block.

Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely Polonkai (W00d5t0ck) 2012-03-29 18:47:56 +02:00
parent bfe3797b31
commit 631b3bbe6e

View File

@ -36,7 +36,8 @@
* SECTION:game-networking * SECTION:game-networking
* @short_description: Game related networking code * @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 { struct AcceptData {
@ -44,7 +45,11 @@ struct AcceptData {
GSocketListener *listener; 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_email(wmudClient *client);
void wmud_client_interpret_newplayer_mailconfirm(wmudClient *client); void wmud_client_interpret_newplayer_mailconfirm(wmudClient *client);