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.4 2002/12/19 09:40:23 ru Exp $
17 .Nm svcerr_systemerr ,
19 .Nd library routines for server side remote procedure call errors
23 .Fn svcerr_auth "SVCXPRT *xprt" "enum auth_stat why"
25 .Fn svcerr_decode "SVCXPRT *xprt"
27 .Fn svcerr_noproc "SVCXPRT *xprt"
29 .Fn svcerr_noprog "SVCXPRT *xprt"
31 .Fn svcerr_progvers "SVCXPRT *xprt" "rpcvers_t low_vers" "rpcvers_t high_vers"
33 .Fn svcerr_systemerr "SVCXPRT *xprt"
35 .Fn svcerr_weakauth "SVCXPRT *xprt"
37 These routines are part of the RPC
38 library which allows C language programs to make procedure
39 calls on other machines across the network.
41 These routines can be called by the server side
42 dispatch function if there is any error in the
43 transaction with the client.
47 for the definition of the
52 Called by a service dispatch routine that refuses to perform
53 a remote procedure call due to an authentication error.
55 Called by a service dispatch routine that cannot successfully
56 decode the remote arguments
62 Called by a service dispatch routine that does not implement
63 the procedure number that the caller requests.
65 Called when the desired program is not registered with the
67 Service implementors usually do not need this routine.
68 .It Fn svcerr_progvers
69 Called when the desired version of a program is not registered with the
74 is the lowest version number,
77 is the highest version number.
78 Service implementors usually do not need this routine.
79 .It Fn svcerr_systemerr
80 Called by a service dispatch routine when it detects a system
81 error not covered by any particular protocol.
82 For example, if a service can no longer allocate storage,
83 it may call this routine.
84 .It Fn svcerr_weakauth
85 Called by a service dispatch routine that refuses to perform
86 a remote procedure call due to insufficient (but correct)
87 authentication arguments.
89 .Fn svcerr_auth "xprt" "AUTH_TOOWEAK" .
92 These functions are part of libtirpc.
96 .Xr rpc_svc_create 3 ,