#include <wintirpc.h>
#include <sys/types.h>
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h>
#include <rpc/pmap_rmt.h>
Go to the source code of this file.
|
enum clnt_stat | pmap_rmtcall (struct sockaddr_in *addr, u_long prog, u_long vers, u_long proc, xdrproc_t xdrargs, caddr_t argsp, xdrproc_t xdrres, caddr_t resp, struct timeval tout, u_long *port_ptr) |
|
bool_t | xdr_rmtcall_args (XDR *xdrs, struct rmtcallargs *cap) |
|
bool_t | xdr_rmtcallres (XDR *xdrs, struct rmtcallres *crp) |
|
◆ pmap_rmtcall()
Definition at line 73 of file pmap_rmt.c.
100 r.results_ptr = resp;
101 r.xdr_results = xdrres;
GLdouble GLdouble GLdouble r
__END_DECLS __BEGIN_DECLS CLIENT * clntudp_create(struct sockaddr_in *, u_long, u_long, struct timeval, int *)
bool_t xdr_rmtcallres(XDR *xdrs, struct rmtcallres *crp)
bool_t(* xdrproc_t)(XDR *,...)
#define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs)
bool_t xdr_rmtcall_args(XDR *xdrs, struct rmtcallargs *cap)
GLenum const GLvoid * addr
_CRTIMP int __cdecl stat(const char *_Filename, struct stat *_Stat)
GLboolean GLboolean GLboolean GLboolean a
◆ xdr_rmtcall_args()
Definition at line 119 of file pmap_rmt.c.
123 u_int lenposition, argposition, position;
135 if (! (*(
cap->xdr_args))(xdrs,
cap->args_ptr))
bool_t xdr_u_long(XDR *xdrs, u_long *ulp)
#define XDR_SETPOS(xdrs, pos)
Referenced by rpc_broadcast_exp().
◆ xdr_rmtcallres()
Definition at line 153 of file pmap_rmt.c.
bool_t xdr_reference(XDR *xdrs, caddr_t *pp, u_int size, xdrproc_t proc)
bool_t(* xdrproc_t)(XDR *,...)
bool_t xdr_u_long(XDR *xdrs, u_long *ulp)
Referenced by rpc_broadcast_exp().
◆ timeout