Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/ntirpc/rpc/clnt_stat.h
$ cat -n /usr/include/ntirpc/rpc/clnt_stat.h 1 /* $FreeBSD: src/include/rpc/clnt_stat.h,v 1.2 2001/03/20 2 * 08:20:50 alfred Exp $ */ 3 /* 4 * Copyright (c) 1986 - 1991, 1994, 1996, 1997 by Sun Microsystems, Inc. 5 * All rights reserved. 6 */ 7 8 /* 9 * clnt_stat.h - Client side remote procedure call enum 10 * 11 */ 12 13 #ifndef _RPC_CLNT_STAT_H 14 #define _RPC_CLNT_STAT_H 15 16 /* #pragma ident "@(#)clnt_stat.h 1.2 97/04/28 SMI" */ 17 18 #ifdef __cplusplus 19 extern "C" { 20 #endif 21 22 enum clnt_stat { 23 RPC_SUCCESS = 0, /* call succeeded */ 24 /* 25 * local errors 26 */ 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 */ 35 /* 36 * remote errors 37 */ 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" */ 45 46 /* 47 * rpc_call & clnt_create errors 48 */ 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 */ 53 54 /* 55 * rpcbind errors 56 */ 57 RPC_RPCBFAILURE = 14, /* the pmapper failed in its call */ 58 #define RPC_PMAPFAILURE RPC_RPCBFAILURE 59 RPC_PROGNOTREGISTERED = 15,/* remote program not registered */ 60 RPC_N2AXLATEFAILURE = 22, 61 /* Name to address translation failed */ 62 /* 63 * Misc error in the TLI library 64 */ 65 RPC_TLIERROR = 20, 66 /* 67 * unspecified error 68 */ 69 RPC_FAILED = 16, 70 /* 71 * asynchronous errors 72 */ 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) */ 78 }; 79 80 #ifdef __cplusplus 81 } 82 #endif 83 #endif /* !_RPC_CLNT_STAT_H */
Welcome to MyWebUniversity on April 15, 2025.
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™