xref: /netbsd-src/external/bsd/ntp/dist/sntp/log.h (revision daf6c4152fcddc27c445489775ed1f66ab4ea9a9)
1 /*	$NetBSD: log.h,v 1.2 2010/12/04 23:08:36 christos 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(const char *message, char type);
16 void debug_msg(const char *message);
17 
18 void init_log(const char *logfile);
19 void cleanup_log(void);
20 
21 #endif
22