2 * Copyright (C) 1995 Olaf Kirch
3 * Modified by Jeffrey A. Uphoff, 1996, 1997, 1999.
9 * logging functionality
18 void log_init(char *name);
19 void log_background(void);
20 void log_enable(int facility);
21 int log_enabled(int facility);
22 void log(int level, char *fmt, ...);
23 void die(char *fmt, ...);
26 * Map per-application severity to system severity. What's fatal for
27 * lockd is merely an itching spot from the universe's point of view.
29 #define L_CRIT LOG_CRIT
30 #define L_FATAL LOG_ERR
31 #define L_ERROR LOG_WARNING
32 #define L_WARNING LOG_NOTICE
33 #define L_DEBUG LOG_DEBUG
38 #define dprintf if (0) log
41 #endif /* _LOCKD_LOG_H_ */