61 char *(*p_progname)(
char *);
75static const char __reg_err1[] =
"can't find appropriate transport";
76static const char __reg_err2[] =
"can't get protocol info";
77static const char __reg_err3[] =
"unsupported transport size";
96 char *(*progname)(
char *);
130 xdrbuf = netid =
NULL;
141 if (svcxprt ==
NULL) {
158 if (((xdrbuf =
malloc((
unsigned)recvsz)) ==
NULL) ||
280 if (outdata ==
NULL &&
int strcmp(const char *String1, const char *String2)
static const char * progname
#define svc_getargs(xprt, xargs, argsp)
#define svc_freeargs(xprt, xargs, argsp)
#define SVC_DESTROY(xprt)
void * __rpc_setconf(char *nettype) const
u_int __rpc_get_t_size(int af, int proto, int size)
struct netconfig * __rpc_getconf(void *vhandle)
int __rpc_fd2sockinfo(SOCKET fd, struct __rpc_sockinfo *sip)
void __rpc_endconf(void *vhandle)
bool_t rpcb_unset(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf)
_Check_return_ _CRTIMP char *__cdecl strdup(_In_opt_z_ const char *_Src)
char *(* p_progname)(char *)
bool_t svc_sendreply(SVCXPRT *xprt, xdrproc_t xdr_results, void *xdr_location)
bool_t svc_reg(SVCXPRT *xprt, const rpcprog_t prog, const rpcvers_t vers, void *dispatch, const struct netconfig *nconf)
void svcerr_decode(SVCXPRT *xprt)
SVCXPRT * svc_tli_create(SOCKET fd, const struct netconfig *nconf, const struct t_bind *bindaddr, u_int sendsz, u_int recvsz)
static const char __reg_err3[]
static const char __reg_err1[]
static void universal(struct svc_req *, SVCXPRT *)
int rpc_reg(rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum, char **progname, xdrproc_t inproc, xdrproc_t outproc, char *nettype)
static const char __reg_err2[]
static const char __no_mem_str[]
static const char rpc_reg_msg[]
static const char rpc_reg_err[]
bool_t(* xdrproc_t)(XDR *,...)