/home/dko/projects/mobilec/trunk/src/include/connection.h File Reference

#include <sys/types.h>
#include <netinet/in.h>

Go to the source code of this file.

Data Structures

struct  connection_s

Typedefs

typedef struct connection_s connection_t
typedef connection_tconnection_p

Functions

connection_p connection_New (void)
int connection_Destroy (connection_p connection)
connection_p connection_Copy (connection_p connection)
void connection_Close (connection_p connection)
void connection_SetHosts (connection_p connection, char *remote_host, char *local_host)
int connection_CreateMessage (connection_p connection)
int connection_SendtoConnection (connection_p connection, char *send_buffer)
int connection_RecvFromConnection (connection_p connection, struct mc_platform_s *global)


Typedef Documentation

Definition at line 60 of file connection.h.

typedef struct connection_s connection_t


Function Documentation

void connection_Close ( connection_p  connection  ) 

connection_p connection_Copy ( connection_p  connection  ) 

int connection_CreateMessage ( connection_p  connection  ) 

int connection_Destroy ( connection_p  connection  ) 

Definition at line 42 of file connection.c.

References connection_s::clientfd, MC_SUCCESS, and connection_s::remote_hostname.

Referenced by acc_Thread().

connection_p connection_New ( void   ) 

Definition at line 62 of file connection.c.

Referenced by connection_Copy().

int connection_RecvFromConnection ( connection_p  connection,
struct mc_platform_s global 
)

int connection_SendtoConnection ( connection_p  connection,
char *  send_buffer 
)

void connection_SetHosts ( connection_p  connection,
char *  remote_host,
char *  local_host 
)


Generated on Thu Nov 13 14:22:57 2008 for Mobile-C by  doxygen 1.5.5