Cross reference for modules/er/erroutines.h of index.

# File modules/er/erroutines.h

      $Revision: 1.6 $

      Error reporting (er) erroutines.h  - header file for error reporting.

      Status: NOT REVUED, TESTED,

      Design and implementation by: Marek Bukowy

Included in: | modules/er/er.c
| modules/er/er_facilities.h

## Included Files

- `#include <stdio.h>`

- `#include <unistd.h>`

- `#include <stdlib.h>`

- `#include <assert.h>`

- `#include <time.h>`

- `#include <stdarg.h>`

- `#include <strings.h>`

- `#include <include/bitmask.h>`

- `#include <include/er_aspects.h>`

- `#include <include/stubs.h>`
  - `#include <stdlib.h>`

- `#include "modules/er/er_facilities.h"`
  - `#include <include/erroutines.h>`
  - `#include "modules/er/er_ER_errors.h"`
  - `#include "include/er_IP_errors.h"`
  - `#include "include/er_RX_errors.h"`
  - `#include "include/er_UT_errors.h"`
  - `#include "include/er_WH_errors.h"`
  - `#include "modules/er/erroutines.h"`

## Preprocessor definitions

`#define ER_H`

`#define EXTDEF extern`

`#define EXTINI( a, b )`

`#define MNELEN 16`

circular buffer dump

`#define ER_SEV_C 0x40000000`

fatal error

`#define ER_SEV_F 0x20000000`

error

`#define ER_SEV_E 0x10000000`

warning

`#define ER_SEV_W 0x08000000`

information

`#define ER_SEV_I 0x04000000`

debug message

`#define ER_SEV_D 0x02000000`

library error

`#define ER_SEV_L 0x01000000`

`#define ER_SEV_TXT 20`

`#define ER_MSGLEN 256`

`#define ER_ERRLEN 192`

`#define DEFFAC( a, b )`

`#define ER_LASTTXT 1`

`#define ERDUP( a )`

`#define ER_M_SEVNONE 0`

`#define ER_M_SEVCHAR 1`

`#define ER_M_SEVLONG 2`

`#define ER_M_MNEMNONE 0`

`#define ER_M_MNEMONIC 4`

`#define ER_M_TEXTNONE 0`

`#define ER_M_TEXTLONG 8`

`#define ER_M_UIDNONE 0`

`#define ER_M_UIDUID 16`

`#define ER_M_UIDEUID 32`

`#define ER_M_UIDBOTH 48`

`#define ER_M_PIDNONE 0`

`#define ER_M_PIDFULL 64`

`#define ER_M_FACSYMB 128`

`#define ER_M_PROGNAME 256`

`#define ER_M_DATETIME 512`

`#define ER_M_THR_ID 2048`

`#define ER_M_DEFAULT`

`#define ER_dbg_eq( mod, asp, typ, expr )`

## Typedef er_mask_t

`typedef unsigned int er_mask_t`

## Typedef er_ret_t

`typedef int er_ret_t`

## Typedef er_list_t

`typedef struct {...} er_list_t`

`struct` |
`{` |
`er_ret_t code;` |
`char mnem[16];` |
`char text[80];` |
`}` |

## Typedef er_main_t

`typedef struct {...} er_main_t`

`struct` |
`{` |
`er_ret_t code;` |
`char name[4];` |
`char desc[80];` |
`er_list_t* errs;` |
`}` |

## Typedef er_level_t

`typedef struct {...} er_level_t`

`struct` |
`{` |
`int sev;` |
`char chr[2];` |
`char txt[20];` |
`}` |

## Typedef er_path_t

`typedef struct {...} er_path_t`

`struct` |
`{` |
`FILE* fdes;` |
`er_mask_t asp;` |
`int sev;` |
`int mode;` |
`}` |

## External Variables

er_level_a
`extern er_level_t er_level_a[]`

Defined in: | modules/er/er.c