|
Lines 53-59
void log_init(char *, LogLevel, Sysl
Link Here
|
| 53 |
SyslogFacility log_facility_number(char *); |
53 |
SyslogFacility log_facility_number(char *); |
| 54 |
LogLevel log_level_number(char *); |
54 |
LogLevel log_level_number(char *); |
| 55 |
|
55 |
|
| 56 |
void fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2))); |
56 |
void fatal(const char *, ...) __attribute__((noreturn)) __attribute__((format(printf, 1, 2))); |
| 57 |
void error(const char *, ...) __attribute__((format(printf, 1, 2))); |
57 |
void error(const char *, ...) __attribute__((format(printf, 1, 2))); |
| 58 |
void logit(const char *, ...) __attribute__((format(printf, 1, 2))); |
58 |
void logit(const char *, ...) __attribute__((format(printf, 1, 2))); |
| 59 |
void verbose(const char *, ...) __attribute__((format(printf, 1, 2))); |
59 |
void verbose(const char *, ...) __attribute__((format(printf, 1, 2))); |
|
Lines 62-66
void debug2(const char *, ...) __att
Link Here
|
| 62 |
void debug3(const char *, ...) __attribute__((format(printf, 1, 2))); |
62 |
void debug3(const char *, ...) __attribute__((format(printf, 1, 2))); |
| 63 |
|
63 |
|
| 64 |
void do_log(LogLevel, const char *, va_list); |
64 |
void do_log(LogLevel, const char *, va_list); |
| 65 |
void cleanup_exit(int) __dead; |
65 |
void cleanup_exit(int) __attribute__((noreturn)); |
| 66 |
#endif |
66 |
#endif |