summaryrefslogtreecommitdiffstats
path: root/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'log.h')
-rw-r--r--log.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/log.h b/log.h
new file mode 100644
index 0000000..5efc65c
--- /dev/null
+++ b/log.h
@@ -0,0 +1,9 @@
+#include <stdarg.h>
+
+void log_init(int daemonized);
+void log_error(const char *format, ...);
+void log_perror(const char *message);
+void log_warning(const char *format, ...);
+void log_critical(const char *format, ...);
+void log_debug(const char *format, ...);
+void fatal(const char *emsg);