00001 #ifndef _GATEWAY_RPC_H_
00002 #define _GATEWAY_RPC_H_
00003
00004 #include <rpc/rpc.h>
00005
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif
00009
00010 extern int
00011 lookup_host(const char* host, int port, struct sockaddr_in* addr);
00012
00013 extern CLIENT*
00014 get_connection(struct sockaddr_in* addr);
00015
00016 extern int
00017 do_null_op(CLIENT* c);
00018
00019 extern int
00020 test_node(const char* hostname, struct sockaddr_in* addr);
00021
00022 #ifdef __cplusplus
00023 }
00024 #endif
00025
00026 #endif