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