--- a/src/lib/error.h Sat Sep 27 00:20:47 2008 +0300
+++ b/src/lib/error.h Sat Oct 04 17:52:11 2008 +0300
@@ -1,8 +1,13 @@
#ifndef LIB_ERROR_H
#define LIB_ERROR_H
+#include "log.h"
+
#define ERROR(...) do { err_func(__func__, __VA_ARGS__); goto error; } while (0)
#define PERROR(...) do { perr_func(__func__, __VA_ARGS__); goto error; } while (0)
#define EERROR(_err, ...) do { eerr_func(__func__, (_err), __VA_ARGS__); goto error; } while (0)
+#define FATAL(...) err_func_exit(__func__, __VA_ARGS__)
+#define PFATAL(...) perr_func_exit(__func__, __VA_ARGS__)
+
#endif /* LIB_ERROR_H */