From c8c2514026a136eb33b519c9d09efa3113f7f3d9 Mon Sep 17 00:00:00 2001 From: David Howells Date: Wed, 25 Sep 2019 17:19:55 +0100 Subject: [PATCH] xg: Supply standard Rx error codes Signed-off-by: David Howells --- rpc-api/rxgen.xg | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 rpc-api/rxgen.xg diff --git a/rpc-api/rxgen.xg b/rpc-api/rxgen.xg new file mode 100644 index 0000000..986d45d --- /dev/null +++ b/rpc-api/rxgen.xg @@ -0,0 +1,32 @@ +/* -*-c-*- + **************************************************************************** + * Copyright IBM Corporation 1988, 1989 - All Rights Reserved * + * * + * Permission to use, copy, modify, and distribute this software and its * + * documentation for any purpose and without fee is hereby granted, * + * provided that the above copyright notice appear in all copies and * + * that both that copyright notice and this permission notice appear in * + * supporting documentation, and that the name of IBM not be used in * + * advertising or publicity pertaining to distribution of the software * + * without specific, written prior permission. * + * * + * IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL * + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL IBM * + * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY * + * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER * + * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * + * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * + **************************************************************************** + */ + +package RXGEN_ + +/* Error codes */ +const RXGEN_CC_MARSHAL = -450; +const RXGEN_CC_UNMARSHAL = -451; +const RXGEN_SS_MARSHAL = -452; +const RXGEN_SS_UNMARSHAL = -453; +const RXGEN_DECODE = -454; +const RXGEN_OPCODE = -455; +const RXGEN_SS_XDRFREE = -456; +const RXGEN_CC_XDRFREE = -457; -- 2.49.0