37#if defined(PORTMAP) || defined (_WIN32)
75#define IN4_LOCALHOST_STRING "127.0.0.1"
76#define IN6_LOCALHOST_STRING "::1"
82clnt_com_create(raddr,
prog, vers, sockp, sendsz, recvsz,
tp)
130 bindaddr.maxlen = bindaddr.len =
sizeof (
struct sockaddr_in);
131 bindaddr.buf = raddr;
137 if (madefd ==
TRUE) {
174 sendsz, recvsz,
"udp");
203 sendsz, recvsz,
"tcp");
211clntudp6_bufcreate(raddr,
prog, vers, wait, sockp, sendsz, recvsz)
223 sendsz, recvsz,
"udp6");
243clnttcp6_create(raddr,
prog, vers, sockp, sendsz, recvsz)
252 sendsz, recvsz,
"tcp6");
269svc_com_create(
fd, sendsize, recvsize, netid)
323 return svc_com_create(
fd, sendsize, recvsize,
"tcp");
335 u_int sendsz, recvsz;
338 return svc_com_create(
fd, sendsz, recvsz,
"udp");
384 u_int sendsz, recvsz;
386 return svc_com_create(
fd, sendsz, recvsz,
"udp6");
396 return svc_com_create(
fd, sendsize, recvsize,
"tcp6");
426 int prognum, versnum, procnum;
440 int prognum, versnum, procnum;
461rpc_wrap_bcast(resultp,
addr, nconf)
471 return (*clnt_broadcast_result)(resultp,
581 svcaddr->
buf = raddr;
582 svcaddr->
len =
sizeof(raddr);
628 memset(&sun, 0,
sizeof sun);
637 taddr.addr.len = taddr.addr.maxlen = addrlen;
638 taddr.addr.buf =
malloc(addrlen);
639 if (taddr.addr.buf ==
NULL)
641 memcpy(taddr.addr.buf,
sa, addrlen);
645 free(taddr.addr.buf);
_STLP_DECLSPEC complex< float > _STLP_CALL sin(const complex< float > &)
int strcmp(const char *String1, const char *String2)
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
static struct sockaddr_in sa
__END_DECLS __BEGIN_DECLS AUTH * authdes_create(char *, u_int, struct sockaddr *, des_block *)
AUTH * authdes_seccreate(const char *servername, const u_int win, const char *timehost, const des_block *ckey)
int bindresvport(SOCKET sd, struct sockaddr_in *sin)
static const char * progname
CLIENT * clntunix_create(struct sockaddr_un *, u_long, u_long, int *, u_int, u_int)
#define CLSET_RETRY_TIMEOUT
#define CLNT_CONTROL(cl, rq, in)
__END_DECLS typedef bool_t(* resultproc_t)(caddr_t,...)
enum clnt_stat rpc_broadcast(rpcprog_t prog, rpcvers_t vers, rpcproc_t proc, xdrproc_t xargs, caddr_t argsp, xdrproc_t xresults, caddr_t resultsp, resultproc_t eachresult, const char *nettype)
CLIENT * clnt_tli_create(const SOCKET fd_in, const struct netconfig *nconf, struct netbuf *svcaddr, const rpcprog_t prog, const rpcvers_t vers, const uint sendsz, const uint recvsz, int(*callback_xdr)(void *, void *), int(*callback_function)(void *, void *, void **), void *callback_args)
CLIENT * clnt_raw_create(rpcprog_t prog, rpcvers_t vers)
enum clnt_stat rpc_call(char *host, rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum, xdrproc_t inproc, const char *in, xdrproc_t outproc, char *out, const char *nettype) const
__END_DECLS __BEGIN_DECLS CLIENT * clntraw_create(u_long, u_long)
CLIENT * clntudp_bufcreate(struct sockaddr_in *, u_long, u_long, struct timeval, int *, u_int, u_int)
__END_DECLS __BEGIN_DECLS CLIENT * clntudp_create(struct sockaddr_in *, u_long, u_long, struct timeval, int *)
__BEGIN_DECLS CLIENT * clnttcp_create(struct sockaddr_in *, u_long, u_long, SOCKET *, u_int, u_int)
CLIENT * clnt_vc_create(int fd, const struct netbuf *raddr, const rpcprog_t prog, const rpcvers_t vers, u_int sendsz, u_int recvsz, int *cb_xdr, int *cb_fn, void *cb_args)
int callrpc(const char *, int, int, int, xdrproc_t, void *, xdrproc_t, void *)
__BEGIN_DECLS int get_myaddress(struct sockaddr_in *)
int registerrpc(int, int, int, char *(*)(char[UDPMSGSIZE]), xdrproc_t, xdrproc_t)
SVCXPRT * svcunix_create(int, u_int, u_int, char *)
SVCXPRT * svcunixfd_create(int, u_int, u_int)
static const WCHAR version[]
_In_ uint64_t _In_ uint64_t _In_ uint64_t _In_opt_ traverse_ptr * tp
void freenetconfigent(struct netconfig *netconfigp)
int endnetconfig(void *handlep)
struct netconfig * getnetconfig(void *handlep)
GLenum const GLvoid * addr
#define memcpy(s1, s2, n)
static IHTMLWindow2 * window
thread_key_t clnt_broadcast_key
enum clnt_stat clnt_broadcast(u_long, u_long, u_long, xdrproc_t, void *, xdrproc_t, void *, resultproc_t)
u_short pmap_getport(struct sockaddr_in *address, u_long program, u_long version, u_int protocol)
#define thr_setspecific(k, p)
#define thr_getspecific(k)
#define thr_keycreate(k, d)
struct netconfig * __rpc_getconfip(char *nettype) const
SOCKET __rpc_nconf2fd(const struct netconfig *nconf)
INT WSAAPI listen(IN SOCKET s, IN INT backlog)
INT WSAAPI bind(IN SOCKET s, IN CONST struct sockaddr *name, IN INT namelen)
SOCKET WSAAPI socket(IN INT af, IN INT type, IN INT protocol)
unsigned long nc_semantics
SVCXPRT * svc_tli_create(SOCKET fd, const struct netconfig *nconf, const struct t_bind *bindaddr, u_int sendsz, u_int recvsz)
SVCXPRT * svc_raw_create()
int rpc_reg(rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum, char **progname, xdrproc_t inproc, xdrproc_t outproc, char *nettype)
SVCXPRT * svcudp_bufcreate(int, u_int, u_int)
SVCXPRT * svctcp6_create(int, u_int, u_int)
__END_DECLS __BEGIN_DECLS SVCXPRT * svctcp_create(int, u_int, u_int)
__END_DECLS __BEGIN_DECLS SVCXPRT * svcraw_create(void)
SVCXPRT * svcudp6_create(int)
__END_DECLS __BEGIN_DECLS SVCXPRT * svcfd_create(int, u_int, u_int)
__END_DECLS __BEGIN_DECLS SVCXPRT * svcudp_create(int)
SVCXPRT * svcudp6_bufcreate(int, u_int, u_int)
SVCXPRT * svc_fd_create(SOCKET fd, u_int sendsize, u_int recvsize)
bool_t(* xdrproc_t)(XDR *,...)