#include "gateway_rpc.h"
#include "gateway_prot.h"
#include <netdb.h>
#include <string.h>
#include <stdio.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) |
Variables | |
static const int | DHT_PORT = 5852 |
int do_null_op | ( | CLIENT * | c | ) |
CLIENT* get_connection | ( | struct sockaddr_in * | addr | ) |
Definition at line 49 of file gateway_rpc.c.
Referenced by TcaRegistry::get_node(), and test_node().
int lookup_host | ( | const char * | host, | |
int | port, | |||
struct sockaddr_in * | addr | |||
) |
int test_node | ( | const char * | hostname, | |
struct sockaddr_in * | addr | |||
) |
const int DHT_PORT = 5852 [static] |