1 /* $NetBSD: log.h,v 1.1.1.1 2009/12/13 16:57:10 kardel Exp $ */ 2 3 #ifndef LOG_H 4 #define LOG_H 5 6 #include "config.h" 7 8 #include <stdio.h> 9 #include <stdlib.h> 10 #include <stdarg.h> 11 #include <syslog.h> 12 #include <time.h> 13 14 15 void log_msg(char *message, char type); 16 void debug_msg(char *message); 17 18 void init_log(const char *logfile); 19 void cleanup_log(void); 20 21 #endif 22