1 | /***************************************
2 | $Revision: 1.3 $
3 |
4 | Error reporting (er) erroutines.h - definition of error reporting aspects.
5 |
6 | Status: NOT REVUED, TESTED,
7 |
8 | Design and implementation by: Marek Bukowy
9 |
10 | ******************/ /******************
11 | Copyright (c) 1999 RIPE NCC
12 |
13 | All Rights Reserved
14 |
15 | Permission to use, copy, modify, and distribute this software and its
16 | documentation for any purpose and without fee is hereby granted,
17 | provided that the above copyright notice appear in all copies and that
18 | both that copyright notice and this permission notice appear in
19 | supporting documentation, and that the name of the author not be
20 | used in advertising or publicity pertaining to distribution of the
21 | software without specific, written prior permission.
22 |
23 | THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
24 | ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL
25 | AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
26 | DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
27 | AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
28 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
29 | ***************************************/
30 |
31 | /* define a list of aspects for debugging. Just a simple enumeration */
32 |
33 | typedef enum {
34 | /* Global */
35 |
36 | ASP_CIRC_BUF = 0x40000000, /* write also into the circular buffer */
37 | /* 0x20000000 - 0x01000000 are reserved for global tags */
38 |
39 | /* RADIX: */
40 | ASP_RX_NODCRE_GEN = 0x800000, /* general node creation tag */
41 | ASP_RX_NODCRE_DET = 0x400000, /* also details on node creation */
42 | ASP_RX_NODCRE_BOT = 0xC00000, /* both general and detailed */
43 |
44 | ASP_RX_STKBLD_GEN = 0x200000, /* general stack building */
45 | ASP_RX_STKBLD_DET = 0x100000, /* also detailed stack building */
46 | ASP_RX_STKBLD_BOT = 0x300000, /* both general and detailed */
47 |
48 | ASP_RX_SRCH_GEN = 0x080000, /* search */
49 | ASP_RX_SRCH_DET = 0x040000,
50 | ASP_RX_SRCH_BOT = 0x0C0000,
51 |
52 | ASP_RX_TREE_GEN = 0x020000, /* general tree/forest administration */
53 | ASP_RX_TREE_DET = 0x010000, /* detailed */
54 | ASP_RX_TREE_BOT = 0x030000, /* both general and detailed */
55 |
56 |
57 | ASP_RX_TREE_WALK = 0x000001
58 |
59 | } er_asp_t;