Deleted Added
full compact
rpc_svc_err.3 (84425) rpc_svc_err.3 (108087)
1.\" @(#)rpc_svc_err.3n 1.23 93/08/31 SMI; from SVr4
2.\" Copyright 1989 AT&T
3.\" @(#)rpc_svc_err 1.4 89/06/28 SMI;
4.\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
5.\" $NetBSD: rpc_svc_err.3,v 1.1 2000/06/02 23:11:14 fvdl Exp $
1.\" @(#)rpc_svc_err.3n 1.23 93/08/31 SMI; from SVr4
2.\" Copyright 1989 AT&T
3.\" @(#)rpc_svc_err 1.4 89/06/28 SMI;
4.\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
5.\" $NetBSD: rpc_svc_err.3,v 1.1 2000/06/02 23:11:14 fvdl Exp $
6.\" $FreeBSD: head/lib/libc/rpc/rpc_svc_err.3 84425 2001-10-03 16:47:56Z bde $
6.\" $FreeBSD: head/lib/libc/rpc/rpc_svc_err.3 108087 2002-12-19 09:40:28Z ru $
7.Dd May 3, 1993
8.Dt RPC_SVC_ERR 3
9.Os
10.Sh NAME
11.Nm rpc_svc_err ,
12.Nm svcerr_auth ,
13.Nm svcerr_decode ,
14.Nm svcerr_noproc ,

--- 35 unchanged lines hidden (view full) ---

50.Vt SVCXPRT
51data structure.
52.Bl -tag -width XXXXX
53.It Fn svcerr_auth
54Called by a service dispatch routine that refuses to perform
55a remote procedure call due to an authentication error.
56.It Fn svcerr_decode
57Called by a service dispatch routine that cannot successfully
7.Dd May 3, 1993
8.Dt RPC_SVC_ERR 3
9.Os
10.Sh NAME
11.Nm rpc_svc_err ,
12.Nm svcerr_auth ,
13.Nm svcerr_decode ,
14.Nm svcerr_noproc ,

--- 35 unchanged lines hidden (view full) ---

50.Vt SVCXPRT
51data structure.
52.Bl -tag -width XXXXX
53.It Fn svcerr_auth
54Called by a service dispatch routine that refuses to perform
55a remote procedure call due to an authentication error.
56.It Fn svcerr_decode
57Called by a service dispatch routine that cannot successfully
58decode the remote parameters
58decode the remote arguments
59(see
60.Fn svc_getargs
61in
62.Xr rpc_svc_reg 3 ) .
63.It Fn svcerr_noproc
64Called by a service dispatch routine that does not implement
65the procedure number that the caller requests.
66.It Fn svcerr_noprog
67Called when the desired program is not registered with the
68RPC package.
69Service implementors usually do not need this routine.
70.It Fn svcerr_progvers
71Called when the desired version of a program is not registered with the
72RPC package.
59(see
60.Fn svc_getargs
61in
62.Xr rpc_svc_reg 3 ) .
63.It Fn svcerr_noproc
64Called by a service dispatch routine that does not implement
65the procedure number that the caller requests.
66.It Fn svcerr_noprog
67Called when the desired program is not registered with the
68RPC package.
69Service implementors usually do not need this routine.
70.It Fn svcerr_progvers
71Called when the desired version of a program is not registered with the
72RPC package.
73The
73.Fa low_vers
74.Fa low_vers
75argument
74is the lowest version number,
75and
76.Fa high_vers
77is the highest version number.
78Service implementors usually do not need this routine.
79.It Fn svcerr_systemerr
80Called by a service dispatch routine when it detects a system
81error not covered by any particular protocol.
82For example, if a service can no longer allocate storage,
83it may call this routine.
84.It Fn svcerr_weakauth
85Called by a service dispatch routine that refuses to perform
86a remote procedure call due to insufficient (but correct)
76is the lowest version number,
77and
78.Fa high_vers
79is the highest version number.
80Service implementors usually do not need this routine.
81.It Fn svcerr_systemerr
82Called by a service dispatch routine when it detects a system
83error not covered by any particular protocol.
84For example, if a service can no longer allocate storage,
85it may call this routine.
86.It Fn svcerr_weakauth
87Called by a service dispatch routine that refuses to perform
88a remote procedure call due to insufficient (but correct)
87authentication parameters.
89authentication arguments.
88The routine calls
89.Fn svcerr_auth "xprt" "AUTH_TOOWEAK" .
90.El
91.Sh SEE ALSO
92.Xr rpc 3 ,
93.Xr rpc_svc_calls 3 ,
94.Xr rpc_svc_create 3 ,
95.Xr rpc_svc_reg 3
90The routine calls
91.Fn svcerr_auth "xprt" "AUTH_TOOWEAK" .
92.El
93.Sh SEE ALSO
94.Xr rpc 3 ,
95.Xr rpc_svc_calls 3 ,
96.Xr rpc_svc_create 3 ,
97.Xr rpc_svc_reg 3