Remove some unneeded .Pp's.
[dragonfly.git] / include / rpc / clnt_stat.h
blob7205ab35963818c49c99f7dfa18e7d1c5db957b5
1 /*
2 * Copyright (c) 1986 - 1991, 1994, 1996, 1997 by Sun Microsystems, Inc.
3 * All rights reserved.
5 * @(#)clnt_stat.h>-------1.2>----97/04/28 SMI
6 * $FreeBSD: src/include/rpc/clnt_stat.h,v 1.2 2001/03/20 08:20:50 alfred Exp $
7 * $DragonFly$
8 */
11 * clnt_stat.h - Client side remote procedure call enum
15 #ifndef _RPC_CLNT_STAT_H
16 #define _RPC_CLNT_STAT_H
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
22 enum clnt_stat {
23 RPC_SUCCESS = 0, /* call succeeded */
25 * local errors
27 RPC_CANTENCODEARGS = 1, /* can't encode arguments */
28 RPC_CANTDECODERES = 2, /* can't decode results */
29 RPC_CANTSEND = 3, /* failure in sending call */
30 RPC_CANTRECV = 4,
31 /* failure in receiving result */
32 RPC_TIMEDOUT = 5, /* call timed out */
33 RPC_INTR = 18, /* call interrupted */
34 RPC_UDERROR = 23, /* recv got uderr indication */
36 * remote errors
38 RPC_VERSMISMATCH = 6, /* rpc versions not compatible */
39 RPC_AUTHERROR = 7, /* authentication error */
40 RPC_PROGUNAVAIL = 8, /* program not available */
41 RPC_PROGVERSMISMATCH = 9, /* program version mismatched */
42 RPC_PROCUNAVAIL = 10, /* procedure unavailable */
43 RPC_CANTDECODEARGS = 11, /* decode arguments error */
44 RPC_SYSTEMERROR = 12, /* generic "other problem" */
47 * rpc_call & clnt_create errors
49 RPC_UNKNOWNHOST = 13, /* unknown host name */
50 RPC_UNKNOWNPROTO = 17, /* unknown protocol */
51 RPC_UNKNOWNADDR = 19, /* Remote address unknown */
52 RPC_NOBROADCAST = 21, /* Broadcasting not supported */
55 * rpcbind errors
57 RPC_RPCBFAILURE = 14, /* the pmapper failed in its call */
58 #define RPC_PMAPFAILURE RPC_RPCBFAILURE
59 RPC_PROGNOTREGISTERED = 15, /* remote program is not registered */
60 RPC_N2AXLATEFAILURE = 22,
61 /* Name to address translation failed */
63 * Misc error in the TLI library
65 RPC_TLIERROR = 20,
67 * unspecified error
69 RPC_FAILED = 16,
71 * asynchronous errors
73 RPC_INPROGRESS = 24,
74 RPC_STALERACHANDLE = 25,
75 RPC_CANTCONNECT = 26, /* couldn't make connection (cots) */
76 RPC_XPRTFAILED = 27, /* received discon from remote (cots) */
77 RPC_CANTCREATESTREAM = 28 /* can't push rpc module (cots) */
80 #ifdef __cplusplus
82 #endif
84 #endif /* !_RPC_CLNT_STAT_H */