backport to buster
[hcoop/debian/openafs.git] / src / rxgen / rxgen_consts.h
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
4 *
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
8 */
9
10 #ifndef _RXGEN_CONSTS_
11 #define _RXGEN_CONSTS_
12
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
23
24 /* These are some rxgen defines */
25 #define RXGEN_MAKECALL_TIMEOUT 0
26 #define RXGEN_WAIT 1
27 #define RXGEN_DONTWAIT 0
28
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)
33
34 #endif /* _RXGEN_CONSTS_ */