#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 | ) |
| 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.
| int lookup_host | ( | const char * | host, | |
| int | port, | |||
| struct sockaddr_in * | addr | |||
| ) |
| 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().
1.5.3