source: MondoRescue/trunk/mondo/src/include/mr_msg.h@ 900

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

Huge patch to introduce low level functions that will bw used everywhere (mr_free, mr_asprintf, ...)
Nearly linking now due to that.

  • Property svn:eol-style set to native
File size: 431 bytes
RevLine 
[900]1/*
2 * $Id$
3 *
4 * Header file of mr_msg: a set of function manipulating messages
5 * Provided under the GPL v2
6 */
7
8#ifndef MR_MSG_H
9#define MR_MSG_H
10
11/* functions (public methods) */
12
13extern void _mr_msg(int debug, const char *file, const char *function, int line, const char *fmt, ...);
14
15#define mr_msg(level, format, args...) _mr_msg(level, __FILE__, __FUNCTION__, __LINE__, format, ## args)
16
17#endif /* MR_MSG_H */
Note: See TracBrowser for help on using the repository browser.