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: src/lib/libc/rpc/rpc_svc_err.3,v 1.5 2005/02/09 18:03:14 ru Exp $
18 .Nm svcerr_systemerr ,
20 .Nd library routines for server side remote procedure call errors
26 .Fn svcerr_auth "SVCXPRT *xprt" "enum auth_stat why"
28 .Fn svcerr_decode "SVCXPRT *xprt"
30 .Fn svcerr_noproc "SVCXPRT *xprt"
32 .Fn svcerr_noprog "SVCXPRT *xprt"
34 .Fn svcerr_progvers "SVCXPRT *xprt" "rpcvers_t low_vers" "rpcvers_t high_vers"
36 .Fn svcerr_systemerr "SVCXPRT *xprt"
38 .Fn svcerr_weakauth "SVCXPRT *xprt"
40 These routines are part of the RPC
41 library which allows C language programs to make procedure
42 calls on other machines across the network.
44 These routines can be called by the server side
45 dispatch function if there is any error in the
46 transaction with the client.
50 for the definition of the
55 Called by a service dispatch routine that refuses to perform
56 a remote procedure call due to an authentication error.
58 Called by a service dispatch routine that cannot successfully
59 decode the remote arguments
65 Called by a service dispatch routine that does not implement
66 the procedure number that the caller requests.
68 Called when the desired program is not registered with the
70 Service implementors usually do not need this routine.
71 .It Fn svcerr_progvers
72 Called when the desired version of a program is not registered with the
77 is the lowest version number,
80 is the highest version number.
81 Service implementors usually do not need this routine.
82 .It Fn svcerr_systemerr
83 Called by a service dispatch routine when it detects a system
84 error not covered by any particular protocol.
85 For example, if a service can no longer allocate storage,
86 it may call this routine.
87 .It Fn svcerr_weakauth
88 Called by a service dispatch routine that refuses to perform
89 a remote procedure call due to insufficient (but correct)
90 authentication arguments.
92 .Fn svcerr_auth "xprt" "AUTH_TOOWEAK" .
97 .Xr rpc_svc_create 3 ,