RPC_SVC_ERR(3) | Library Functions Manual | RPC_SVC_ERR(3) |
rpc_svc_err
, svcerr_auth
,
svcerr_decode
, svcerr_noproc
,
svcerr_noprog
,
svcerr_progvers
,
svcerr_systemerr
,
svcerr_weakauth
—
#include <rpc/rpc.h>
void
svcerr_auth
(const
SVCXPRT1 *xprt, const
enum auth_stat why);
void
svcerr_decode
(const
SVCXPRT *xprt);
void
svcerr_noproc
(const
SVCXPRT *xprt);
void
svcerr_noprog
(const
SVCXPRT *xprt);
void
svcerr_progvers
(const
SVCXPRT *xprt, rpcvers_t
low_vers, rpcvers_t
high_vers);
void
svcerr_systemerr
(const
SVCXPRT *xprt);
void
svcerr_weakauth
(const
SVCXPRT *xprt);
These routines can be called by the server side dispatch function if there is any error in the transaction with the client.
svcerr_auth
()svcerr_decode
() Called by a service
dispatch routine that cannot successfully decode the remote parameters
(see svc_getargs
() in
rpc_svc_reg(3)).
svcerr_noproc
()svcerr_noprog
()svcerr_progvers
()svcerr_systemerr
()svcerr_weakauth
()svcerr_auth
(xprt,
AUTH_TOOWEAK).May 3, 1993 | NetBSD 9.2 |