source: MondoRescue/branches/stable/mondo/src/include/mr_err.h@ 1120

Last change on this file since 1120 was 1104, checked in by Bruno Cornec, 17 years ago

Improvement of the low level library (Usage of LINE and FILE and simplified interfaces using macros)

  • Property svn:eol-style set to native
File size: 359 bytes
Line 
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
11#include "mr_msg.h"
12
13/* functions (public methods) */
14
15extern inline void mr_exit(int errorcode, const char *message);
16#define mr_log_exit(x,y) {mr_msg(0,y); mr_exit(x, y);}
17
18#endif /* MR_ERR_H */
Note: See TracBrowser for help on using the repository browser.