compile on modern FreeBSD. After Robert Watson <rwatson@FreeBSD.org> and Alec Kloss
[arla.git] / rx / rxgencon.h
blob71fdeb3328eb7cc2a188f673a4b18070251f13b1
1 /*
2 ****************************************************************************
3 * Copyright IBM Corporation 1988, 1989 - All Rights Reserved *
4 * *
5 * Permission to use, copy, modify, and distribute this software and its *
6 * documentation for any purpose and without fee is hereby granted, *
7 * provided that the above copyright notice appear in all copies and *
8 * that both that copyright notice and this permission notice appear in *
9 * supporting documentation, and that the name of IBM not be used in *
10 * advertising or publicity pertaining to distribution of the software *
11 * without specific, written prior permission. *
12 * *
13 * IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL *
14 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL IBM *
15 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY *
16 * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER *
17 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING *
18 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *
19 ****************************************************************************
22 /* $Id$ */
24 #ifndef _RXGEN_CONSTS_
25 #define _RXGEN_CONSTS_
27 /* These are some rxgen-based (really arbitrary) error codes... */
28 #define RXGEN_SUCCESS 0
29 #define RXGEN_CC_MARSHAL -450
30 #define RXGEN_CC_UNMARSHAL -451
31 #define RXGEN_SS_MARSHAL -452
32 #define RXGEN_SS_UNMARSHAL -453
33 #define RXGEN_DECODE -454
34 #define RXGEN_OPCODE -455
35 #define RXGEN_SS_XDRFREE -456
36 #define RXGEN_CC_XDRFREE -457
38 #endif /* _RXGEN_CONSTS_ */