Main Page   File List   File Members   Related Pages  

frdi_dummy_user_game.c File Reference

interpret the game protocol More...

#include "frdi_dummy_user.h"

Functions

void frdiUserGameReceiveClient (frdi_user_app *self, frdi_user_game *game, char *str)
void frdiUserGameLog (frdi_user_app *self, frdi_user_game *game, char *str)
frdi_user_game * frdiUserGameNew (frdi_user_app *self, char *game_id)
void frdiUserGameFinish (frdi_user_app *self, frdi_user_game *game)
char * frdiUserGameReport (frdi_user_app *self, frdi_user_game *game)
char * frdiUserGameDescribe (frdi_user_app *self, frdi_user_game *game)


Detailed Description

interpret the game protocol

Author:
Douglas Reay <douglas-legal@reay.org>
Warning:

Function Documentation

void frdiUserGameReceiveClient frdi_user_app *    self,
frdi_user_game *    game,
char *    str
 

deal with a game str from the client

void frdiUserGameLog frdi_user_app *    self,
frdi_user_game *    game,
char *    str
 

log it

frdi_user_game* frdiUserGameNew frdi_user_app *    self,
char *    game_id
 

create a game object (values get filled in by the create object)

void frdiUserGameFinish frdi_user_app *    self,
frdi_user_game *    game
 

de-register and destroy a game object

char* frdiUserGameReport frdi_user_app *    self,
frdi_user_game *    game
 

report the outcome of a game to the user in complete terms

char* frdiUserGameDescribe frdi_user_app *    self,
frdi_user_game *    game
 

describe it


Generated on Wed Aug 18 13:23:55 2004 for Project Fairdice by doxygen1.2.18