#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) |
int do_null_op | ( | CLIENT * | c | ) |
Definition at line 56 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 33 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 15 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 67 of file gateway_rpc.c.
References DHT_PORT, do_null_op(), get_connection(), and lookup_host().
Referenced by TcaRegistry::init_addrs().