gateway_rpc.h File Reference

#include <rpc/rpc.h>

Go to the source code of this file.

Functions

int lookup_host (const char *host, int port, struct sockaddr_in *addr)
CLIENT * get_connection (struct sockaddr_in *addr)
int do_null_op (CLIENT *c)
int test_node (const char *hostname, struct sockaddr_in *addr)


Function Documentation

int do_null_op ( CLIENT *  c  ) 

Definition at line 72 of file gateway_rpc.c.

References bamboo_dht_proc_null_2().

Referenced by test_node().

CLIENT* get_connection ( struct sockaddr_in *  addr  ) 

Definition at line 49 of file gateway_rpc.c.

References BAMBOO_DHT_GATEWAY_PROGRAM, and BAMBOO_DHT_GATEWAY_VERSION.

Referenced by TcaRegistry::get_node(), and test_node().

int lookup_host ( const char *  host,
int  port,
struct sockaddr_in *  addr 
)

Definition at line 31 of file gateway_rpc.c.

References oasys::gethostbyname().

Referenced by test_node().

int test_node ( const char *  hostname,
struct sockaddr_in *  addr 
)

Definition at line 83 of file gateway_rpc.c.

References DHT_PORT, do_null_op(), get_connection(), and lookup_host().

Referenced by TcaRegistry::init_addrs().


Generated on Thu Jun 7 12:54:30 2007 for DTN Reference Implementation by  doxygen 1.5.1