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.6 2003/04/16 13:34:43 wiz Exp $
16 .Nm svcerr_systemerr ,
18 .Nd library routines for server side remote procedure call errors
24 .Fn svcerr_auth "const SVCXPRT1 *xprt" "const enum auth_stat why"
26 .Fn svcerr_decode "const SVCXPRT *xprt"
28 .Fn svcerr_noproc "const SVCXPRT *xprt"
30 .Fn svcerr_noprog "const SVCXPRT *xprt"
32 .Fn svcerr_progvers "const SVCXPRT *xprt" "rpcvers_t low_vers" "rpcvers_t high_vers"
34 .Fn svcerr_systemerr "const SVCXPRT *xprt"
36 .Fn svcerr_weakauth "const SVCXPRT *xprt"
38 These routines are part of the RPC
39 library which allows C language programs to make procedure
40 calls on other machines across the network.
42 These routines can be called by the server side
43 dispatch function if there is any error in the
44 transaction with the client.
48 for the definition of the
54 Called by a service dispatch routine that refuses to perform
55 a remote procedure call due to an authentication error.
58 Called by a service dispatch routine that cannot successfully
59 decode the remote parameters
66 Called by a service dispatch routine that does not implement
67 the procedure number that the caller requests.
70 Called when the desired program is not registered with the
72 Service implementors usually do not need this routine.
74 .It Fn svcerr_progvers
75 Called when the desired version of a program is not registered with the
78 is the lowest version number,
81 is the highest version number.
82 Service implementors usually do not need this routine.
84 .It Fn svcerr_systemerr
85 Called by a service dispatch routine when it detects a system
86 error not covered by any particular protocol.
87 For example, if a service can no longer allocate storage,
88 it may call this routine.
90 .It Fn svcerr_weakauth
91 Called by a service dispatch routine that refuses to perform
92 a remote procedure call due to insufficient (but correct)
93 authentication parameters.
95 .Fn svcerr_auth "xprt" "AUTH_TOOWEAK" .
100 .Xr rpc_svc_create 3 ,