/* Copyright 1996 BEA Systems, Inc. */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF */
/* BEA Systems, Inc. */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
/* Copyright (c) 1996 BEA System, Inc.
Portions of this software 1995 Novell, Inc.
All rights reserved
THIS IS UNPUBLISHED PROPRIETARY
SOURCE CODE OF BEA System, Inc.
The copyright notice above does not
evidence any actual or intended
publication of such source code.
*/
#ifndef GWERROR_H
#define GWERROR_H
/* #ident "@(#)domain:gw/include/gwerror.h 1.2 6.5 RPatch Derived From $Revision: 1.1.4.2 $" */
#ifndef TMMACH_H
#include <tmmach.h>
#endif
#ifndef NOWHAT
static char h_gwerror[] = "@(#)domain:gw/include/gwerror.h 1.2 6.5 RPatch Derived From $Revision: 1.1.4.2 $";
#endif
/**** Errors must have the following structure:
<level><severity><error number>
digits: 00 0 000
Level is the component
Severity: 1 The gateway exits
2 Serious error sent to userlog
3 Warning (it may also be sent to userlog)
Errors: error numbers are sequentially assigned and unique
within each level
*****/
/* GENERIC GW: Level 20 */
#define GWE20_ADV 202040
#define GWE20_ENTER 202041
#define GWE20_INVALIDACT 202042
#define GWE20_MAXACTREACHED 202043
#define GWE20_NOMEMORY 202044
/*
*
* Shared memory interface errors
*
*/
#define GWEINVAL 8001
#define GWEEXIST 8002
#define GWENOMEM 8003
#define GWESHMGET 8004
#define GWESHMCTL 8005
#define GWESHMAT 8006
#define GWESHMDT 8007
#define GWEADDPROC 8008
/* Configuration errors: level 30 */
#define GWEGETRES 3001
#define GWENOLDOM 3002
#define GWENOMEMLD 3003
#define GWENOMEMLSVC 3004
#define GWENOMEMRDOM 3005
#define GWENOMEMRSVC 3006
#define GWEOPENLSVC 3007
#define GWEOPENRDOM 3008
#define GWEOPENRSVC 3009
#define GWEBDMCONFIG 3010
#define GWENOMEMTDOM 3011
#define GWENOMEMOSITP 3012
#define GWEOPENTDOM 3013
#define GWEOPENOSITP 3014
#define GWEOPENACL 3015
#define GWEOPENROUT 3016
#define GWETUXCONFIG 3020
#define GWEOPENSNADOM 3021
#define GWENOMEMSNADOM 3022
/* MSG-CM: Level 40 */
#define GWE40_BUFTYP 402001
#define GWE40_DECHDR 402002
#define GWE40_DECMSG 402003
#define GWE40_FILE2MSG 402004
#define GWE40_INVRSVC 402005
#define GWE40_MSGSEND 402006
#define GWE40_NOENTRY 402007
#define GWE40_NOMSG 402008
#define GWE40_OPCODE 402009
#define GWE40_POSTRCV 402010
#define GWE40_SPACE 402011
#define GWE40_STALEMSG 403012
#define GWE40_SYSBUF 402013
#define GWE40_TMALARM 403014
#define GWE40_ENTER 402015
#define GWE40_NOSERVICE 402016
#define GWE40_SVCFAIL 402017
#define GWE40_NOCONTEXT 402018
#define GWE40_MAXRETRY 402019
#define GWE40_STALEHDL 402020 /* CR012087 */
#define GWE40_MAXTRAN 402021
/* TRANSACTIONS: Level 60 */
#define GWE60_SHM 602001
#define GWE60_INIT 602002
#define GWE60_ENTER 602003
/* add errors always before the endif */
#endif