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