/* * This is sample code generated by rpcgen. * These are only templates and you can use them * as a guideline for developing your own functions. */ #include "nameserver.h" #include #include /* getenv, exit */ #include int * register_1_svc(rpc_hostInfo *argp, struct svc_req *rqstp) { static int result; /* * insert server code here */ return (&result); } int * unregister_1_svc(int *argp, struct svc_req *rqstp) { static int result; /* * insert server code here */ return (&result); } rpc_hostInfo * find_1_svc(int *argp, struct svc_req *rqstp) { static rpc_hostInfo result; /* * insert server code here */ return (&result); } int * findname_1_svc(char **argp, struct svc_req *rqstp) { static int result; /* * insert server code here */ return (&result); }