Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

directconn.h File Reference

functions to help in attempt to make direct connection More...

#include "errorcodes.h"
#include "peerdef.h"

Go to the source code of this file.

Data Structures

struct  direct_conn_connect_arg
 structure to hold argument to started direct connection thread More...

Typedefs

typedef direct_conn_connect_arg direct_conn_connect_arg_t
 typedef for the direct_conn_connect_arg structure

Functions

errorcode start_direct_conn (peer_conn_info_t *info)
 starts the direct connection process by creating a detached thread to make the connection

Variables

direct_conn_connect_arg packed
 structure to hold argument to started direct connection thread


Detailed Description

functions to help in attempt to make direct connection

Author:
Daniel Ferullo (ferullo@cmu.edu)

Definition in file directconn.h.


Function Documentation

errorcode start_direct_conn peer_conn_info_t info  ) 
 

starts the direct connection process by creating a detached thread to make the connection

Allocates a direct_conn_arg_t structure that it expects the started thread to free.

Parameters:
info pointer to the peer_conn_info_t structure will all the info
Returns:
SUCCESS, errorcode on failure

Definition at line 34 of file directconn.c.

References CHECK_NOT_NULL, direct_conn_connect_arg_t, ERROR_NULL_ARG_1, errorcode, direct_conn_connect_arg::info, peer_conn_info_t, run_direct_conn_connect(), and safe_free().

Referenced by peer_fsm_start_direct_conn().


Generated on Wed Mar 30 23:20:48 2005 for NATBLASTER by  doxygen 1.3.9.1