|
||||
File indexing completed on 2025-01-30 10:25:05
0001 /* $FreeBSD: src/include/rpc/clnt_stat.h,v 1.2 2001/03/20 08:20:50 alfred Exp $ */ 0002 /* 0003 * Copyright (c) 1986 - 1991, 1994, 1996, 1997 by Sun Microsystems, Inc. 0004 * All rights reserved. 0005 */ 0006 0007 /* 0008 * clnt_stat.h - Client side remote procedure call enum 0009 * 0010 */ 0011 0012 #ifndef _RPC_CLNT_STAT_H 0013 #define _RPC_CLNT_STAT_H 0014 0015 /* #pragma ident "@(#)clnt_stat.h 1.2 97/04/28 SMI" */ 0016 0017 #ifdef __cplusplus 0018 extern "C" { 0019 #endif 0020 0021 enum clnt_stat { 0022 RPC_SUCCESS = 0, /* call succeeded */ 0023 /* 0024 * local errors 0025 */ 0026 RPC_CANTENCODEARGS = 1, /* can't encode arguments */ 0027 RPC_CANTDECODERES = 2, /* can't decode results */ 0028 RPC_CANTSEND = 3, /* failure in sending call */ 0029 RPC_CANTRECV = 4, 0030 /* failure in receiving result */ 0031 RPC_TIMEDOUT = 5, /* call timed out */ 0032 RPC_INTR = 18, /* call interrupted */ 0033 RPC_UDERROR = 23, /* recv got uderr indication */ 0034 /* 0035 * remote errors 0036 */ 0037 RPC_VERSMISMATCH = 6, /* rpc versions not compatible */ 0038 RPC_AUTHERROR = 7, /* authentication error */ 0039 RPC_PROGUNAVAIL = 8, /* program not available */ 0040 RPC_PROGVERSMISMATCH = 9, /* program version mismatched */ 0041 RPC_PROCUNAVAIL = 10, /* procedure unavailable */ 0042 RPC_CANTDECODEARGS = 11, /* decode arguments error */ 0043 RPC_SYSTEMERROR = 12, /* generic "other problem" */ 0044 0045 /* 0046 * rpc_call & clnt_create errors 0047 */ 0048 RPC_UNKNOWNHOST = 13, /* unknown host name */ 0049 RPC_UNKNOWNPROTO = 17, /* unknown protocol */ 0050 RPC_UNKNOWNADDR = 19, /* Remote address unknown */ 0051 RPC_NOBROADCAST = 21, /* Broadcasting not supported */ 0052 0053 /* 0054 * rpcbind errors 0055 */ 0056 RPC_RPCBFAILURE = 14, /* the pmapper failed in its call */ 0057 #define RPC_PMAPFAILURE RPC_RPCBFAILURE 0058 RPC_PROGNOTREGISTERED = 15, /* remote program is not registered */ 0059 RPC_N2AXLATEFAILURE = 22, 0060 /* Name to address translation failed */ 0061 /* 0062 * Misc error in the TLI library 0063 */ 0064 RPC_TLIERROR = 20, 0065 /* 0066 * unspecified error 0067 */ 0068 RPC_FAILED = 16, 0069 /* 0070 * asynchronous errors 0071 */ 0072 RPC_INPROGRESS = 24, 0073 RPC_STALERACHANDLE = 25, 0074 RPC_CANTCONNECT = 26, /* couldn't make connection (cots) */ 0075 RPC_XPRTFAILED = 27, /* received discon from remote (cots) */ 0076 RPC_CANTCREATESTREAM = 28 /* can't push rpc module (cots) */ 0077 }; 0078 0079 #ifdef __cplusplus 0080 } 0081 #endif 0082 0083 #endif /* !_RPC_CLNT_STAT_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |