Main Page   File List   File Members   Related Pages  

frdi_dummy_host_game.c File Reference

interpret the game protocol More...

#include "frdi_dummy_host.h"

Functions

void frdiHostGameReceiveServer (frdi_host_app *self, frdi_host_game *game, char *str)
frdi_host_game * frdiHostGameNew (frdi_host_app *self, char *game_id)
void frdiHostGameLog (frdi_host_app *self, frdi_host_game *game, char *str)
void frdiHostGameFinish (frdi_host_app *self, frdi_host_game *game)
char * frdiHostGameReport (frdi_host_app *self, frdi_host_game *game)
char * frdiHostGameDescribe (frdi_host_app *self, frdi_host_game *game)


Detailed Description

interpret the game protocol

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

Function Documentation

void frdiHostGameReceiveServer frdi_host_app *    self,
frdi_host_game *    game,
char *    str
 

deal with a game str from the server

frdi_host_game* frdiHostGameNew frdi_host_app *    self,
char *    game_id
 

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

void frdiHostGameLog frdi_host_app *    self,
frdi_host_game *    game,
char *    str
 

log it

void frdiHostGameFinish frdi_host_app *    self,
frdi_host_game *    game
 

de-register and destroy a game object

char* frdiHostGameReport frdi_host_app *    self,
frdi_host_game *    game
 

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

char* frdiHostGameDescribe frdi_host_app *    self,
frdi_host_game *    game
 

describe it


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