1 #ifndef TOOLLIB_ERROR_H
2 #define TOOLLIB_ERROR_H
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 #ifndef TOOLLIB_TOOLLIB_H
10 # include <toollib/toollib.h>
14 # define __attribute__(x) /* eps */
17 extern void Error
PARAMS ((const char * fmt
, ...));
18 extern void Warn
PARAMS ((const char * fmt
, ...));
19 extern void StdError
PARAMS ((const char * fmt
, ...));
20 extern void StdWarn
PARAMS ((const char * fmt
, ...));
21 extern void PrintErrorStack
PARAMS ((void));
22 extern void ClearErrorStack
PARAMS ((void));
23 extern void PushMsg
PARAMS ((const char * pre
, const char * fmt
,
24 va_list args
, const char * post
));
25 extern void PushError
PARAMS ((const char * fmt
, ...));
26 extern void PushWarn
PARAMS ((const char * fmt
, ...));
27 extern void PushStdError
PARAMS ((const char * fmt
, ...));
28 extern void PushStdWarn
PARAMS ((const char * fmt
, ...));
29 extern void ErrorExit
PARAMS ((int ec
)) __attribute__ ((noreturn
));
31 #endif /* TOOLLIB_ERROR_H */