mirror of
https://github.com/elliotnunn/NetBoot.git
synced 2024-09-07 08:55:01 +00:00
26 lines
527 B
C
26 lines
527 B
C
|
/* error.h - error output and modification routines */
|
||
|
/* (c) in 2002-2009,2015,2018 by Volker Barthelmann and Frank Wille */
|
||
|
|
||
|
#ifndef ERROR_H
|
||
|
#define ERROR_H
|
||
|
|
||
|
#define FIRST_GENERAL_ERROR 1
|
||
|
#define FIRST_SYNTAX_ERROR 1001
|
||
|
#define FIRST_CPU_ERROR 2001
|
||
|
#define FIRST_OUTPUT_ERROR 3001
|
||
|
|
||
|
struct err_out {
|
||
|
char *text;
|
||
|
int flags;
|
||
|
};
|
||
|
/* Flags for err_out.flags */
|
||
|
#define ERROR 1
|
||
|
#define WARNING 2
|
||
|
#define INTERNAL 8
|
||
|
#define FATAL 16
|
||
|
#define MESSAGE 32
|
||
|
#define DONTWARN 64
|
||
|
#define NOLINE 256
|
||
|
|
||
|
#endif
|