2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #ifndef _RXGEN_CONSTS_
11 #define _RXGEN_CONSTS_
13 /* These are some rxgen-based (really arbitrary) error codes... */
14 #define RXGEN_SUCCESS 0
15 #define RXGEN_CC_MARSHAL -450
16 #define RXGEN_CC_UNMARSHAL -451
17 #define RXGEN_SS_MARSHAL -452
18 #define RXGEN_SS_UNMARSHAL -453
19 #define RXGEN_DECODE -454
20 #define RXGEN_OPCODE -455
21 #define RXGEN_SS_XDRFREE -456
22 #define RXGEN_CC_XDRFREE -457
24 /* These are some rxgen defines */
25 #define RXGEN_MAKECALL_TIMEOUT 0
27 #define RXGEN_DONTWAIT 0
29 #define MAX_PACKAGES 10
30 #define MAX_FUNCTION_NAME_LEN 200
31 #define MAX_FUNCTIONS_PER_PACKAGE 500
32 #define MAX_FUNCTIONS_PER_INTERFACE (MAX_FUNCTIONS_PER_PACKAGE * MAX_PACKAGES)
35 /* SGI 6.1 and up do include xdr_char */
37 /* kernel's xdr.h doesn't normally define these things, but we need them */
38 /* some environments turn these into macros which don't compile... */
40 extern bool_t xdr_char();
44 extern bool_t xdr_u_char();
45 #endif /* xdr_u_char */
47 #endif /* AFS_SGI61_ENV */
48 #endif /* _RXGEN_CONSTS_ */