/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

Functions

void connection_Close (connection_p connection)
void connection_SetHosts (connection_p connection, char *remote_host, char *local_host)
int connection_SendtoConnection (connection_p connection, char *send_buffer)

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 )

Definition at line 73 of file connection.c.

References connection_s::addr, connection_s::clientfd, connection_s::connect_id, connection_New(), connection_s::remote_hostname, and connection_s::serverfd.

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 Tue Oct 28 17:03:23 2008 for Mobile-C by doxygen 1.5.5

AltStyle によって変換されたページ (->オリジナル) /