equal
deleted
inserted
replaced
9 */ |
9 */ |
10 |
10 |
11 #ifndef _ERRLIB_H |
11 #ifndef _ERRLIB_H |
12 #define _ERRLIB_H |
12 #define _ERRLIB_H |
13 |
13 |
14 #include "common.h" |
14 #include "globals.h" |
|
15 |
|
16 #ifdef __CPLUSPLUS |
|
17 extern "C" { |
|
18 #endif |
15 |
19 |
16 extern int daemon_proc; |
20 extern int daemon_proc; |
17 |
21 |
18 void err_msg (const char *fmt, ...); |
22 void err_msg (const char *fmt, ...); |
19 void err_quit (const char *fmt, ...); |
23 void err_quit (const char *fmt, ...); |
20 void err_ret (const char *fmt, ...); |
24 void err_ret (const char *fmt, ...); |
21 void err_sys (const char *fmt, ...); |
25 void err_sys (const char *fmt, ...); |
22 void err_dump (const char *fmt, ...); |
26 void err_dump (const char *fmt, ...); |
|
27 |
|
28 #ifdef __CPLUSPLUS |
|
29 } |
|
30 #endif |
23 |
31 |
24 #endif /*_ERRLIB_H*/ |
32 #endif /*_ERRLIB_H*/ |
25 |
33 |
26 /* |
34 /* |
27 suggested error string ( PROG ) LEVEL - TEXT : ERRNO |
35 suggested error string ( PROG ) LEVEL - TEXT : ERRNO |