Create repository
[fwd.git] / prod / qderrhandler.h
1 /*
2  * QuanDocs error handling and logging.
3  *
4  * Copyright (C) 2004 by Chris Jaekl
5  */
6
7 #ifndef __QD_ERRHANDLER_H__
8 #define __QD_ERRHANDLER_H__
9
10 #include <stdio.h>
11 #include <stdlib.h>
12
13 #define qdAbort(die_msg, die_retCode) qdAbort_impl(die_msg, die_retCode, __FILE__, __LINE__)
14
15 void qdAbort_impl(const char *die_msg, long die_retCode, const char *file, long line);
16
17 #endif /* __QD_ERRHANDLER_H__ */
18