/home/dko/projects/mobilec/trunk/src/connection.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "include/connection.h"
#include "include/mc_error.h"

Go to the source code of this file.

Functions

int connection_Destroy (connection_p connection)
connection_p connection_New (void)
connection_p connection_Copy (connection_p connection)


Function Documentation

connection_p connection_Copy ( connection_p  connection  ) 

Definition at line 69 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_Destroy ( connection_p  connection  ) 

Definition at line 39 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 58 of file connection.c.

Referenced by connection_Copy().


Generated on Mon Jun 23 16:01:12 2008 for Mobile-C by  doxygen 1.5.4