Last change
on this file since 2202 was 1106, checked in by Bruno Cornec, 18 years ago |
merge -r1082:1105 $SVN_M/branches/stable
|
-
Property svn:eol-style
set to
native
|
File size:
633 bytes
|
Rev | Line | |
---|
[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 |
|
---|
[1074] | 11 | #ifndef _GNU_SOURCE
|
---|
| 12 | #define _GNU_SOURCE
|
---|
| 13 | #endif
|
---|
| 14 | #include <stdarg.h>
|
---|
| 15 |
|
---|
[900] | 16 | /* functions (public methods) */
|
---|
| 17 |
|
---|
[1106] | 18 | #define mr_msg(x,y,args...) {mr_msg_int(x,__LINE__,__FILE__,y,## args);}
|
---|
[1074] | 19 | extern void mr_msg_init(const char *configfile, int loglevel);
|
---|
| 20 | extern void mr_msg_close(void);
|
---|
[900] | 21 |
|
---|
[1106] | 22 | /* Internal function bringing debuging info
|
---|
| 23 | * called indirectly through macros */
|
---|
| 24 | extern inline void mr_msg_int(int debug,int line, const char *file, const char *fmt, ...);
|
---|
| 25 |
|
---|
[900] | 26 | #endif /* MR_MSG_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.