2004-06-12 15:20:07 +01:00
|
|
|
#ifndef ERROR
|
|
|
|
#define ERROR
|
|
|
|
|
2006-01-02 21:06:08 +00:00
|
|
|
//! Types of exit codes
|
|
|
|
enum exittypes
|
|
|
|
{ EXIT_NOATTACK = 0, EXIT_ERROR = 1, EXIT_NOCLAIM = 2, EXIT_ATTACK = 3 };
|
|
|
|
|
2006-08-02 11:29:40 +01:00
|
|
|
void vprintfstderr (char *fmt, va_list args);
|
|
|
|
void printfstderr (char *fmt, ...);
|
2004-06-13 22:42:29 +01:00
|
|
|
void error_die (void);
|
|
|
|
void error_pre (void);
|
2004-08-09 11:05:58 +01:00
|
|
|
void error_post (char *fmt, ...);
|
|
|
|
void error (char *fmt, ...);
|
|
|
|
void warning (char *fmt, ...);
|
2004-06-12 15:20:07 +01:00
|
|
|
|
|
|
|
#endif
|