Main Page   File List   File Members   Related Pages  

frdi_server_storage.c File Reference

translate between connection objs and host-server or client-server objs. More...

#include "frdi_server.h"

Functions

frdi_server_client * frdiServerClientInitialise (frdi_server_app *self, frdi_connection *connection)
frdi_server_host * frdiServerHostInitialise (frdi_server_app *self, frdi_connection *connection)
void frdiServerClientFinalise (frdi_server_app *self, frdi_server_client *client)
void frdiServerHostFinalise (frdi_server_app *self, frdi_server_host *host)
void frdiServerClientRecieve (frdi_server_app *self, frdi_connection *connection, frdi_message *message)
void frdiServerHostRecieve (frdi_server_app *self, frdi_connection *connection, frdi_message *message)
void frdiServerClientMessageSend (frdi_server_app *self, frdi_server_client *client, frdi_message *message)
void frdiServerHostMessageSend (frdi_server_app *self, frdi_server_host *host, frdi_message *message)
char * frdiServerClientDisplay (frdi_server_app *self, frdi_server_client *client)
char * frdiServerHostDisplay (frdi_server_app *self, frdi_server_host *host)


Detailed Description

translate between connection objs and host-server or client-server objs.

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

Function Documentation

frdi_server_client* frdiServerClientInitialise frdi_server_app *    self,
frdi_connection *    connection
 

register a client-server connection

frdi_server_host* frdiServerHostInitialise frdi_server_app *    self,
frdi_connection *    connection
 

register a host-server connection

void frdiServerClientFinalise frdi_server_app *    self,
frdi_server_client *    client
 

de-register a client-server connection

void frdiServerHostFinalise frdi_server_app *    self,
frdi_server_host *    host
 

de-register a host-server connection

void frdiServerClientRecieve frdi_server_app *    self,
frdi_connection *    connection,
frdi_message *    message
 

recieve a message from a client-server connection

void frdiServerHostRecieve frdi_server_app *    self,
frdi_connection *    connection,
frdi_message *    message
 

recieve a message from a host-server connection

void frdiServerClientMessageSend frdi_server_app *    self,
frdi_server_client *    client,
frdi_message *    message
 

send a message along a client-server connection

void frdiServerHostMessageSend frdi_server_app *    self,
frdi_server_host *    host,
frdi_message *    message
 

send a message along a host-server connection

char* frdiServerClientDisplay frdi_server_app *    self,
frdi_server_client *    client
 

return a description of this client-server connection

char* frdiServerHostDisplay frdi_server_app *    self,
frdi_server_host *    host
 

return a description of this host-server connection


Generated on Wed Aug 18 13:24:07 2004 for Project Fairdice by doxygen1.2.18