source:
MondoRescue/trunk/mondo/src/include/mr_err.h
Last change on this file was 1106, checked in by , 17 years ago | |
---|---|
|
|
File size: 359 bytes |
Rev | Line | |
---|---|---|
[900] | 1 | /* |
2 | * $Id$ | |
3 | * | |
4 | * Header file of mr_err: a set of function manipulating errors | |
5 | * Provided under the GPL v2 | |
6 | */ | |
7 | ||
8 | #ifndef MR_ERR_H | |
9 | #define MR_ERR_H | |
10 | ||
[1106] | 11 | #include "mr_msg.h" |
12 | ||
[900] | 13 | /* functions (public methods) */ |
14 | ||
[1074] | 15 | extern inline void mr_exit(int errorcode, const char *message); |
[1106] | 16 | #define mr_log_exit(x,y) {mr_msg(0,y); mr_exit(x, y);} |
[900] | 17 | |
18 | #endif /* MR_ERR_H */ |
Note:
See TracBrowser
for help on using the repository browser.