summaryrefslogtreecommitdiffstats
path: root/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/log.h b/src/log.h
new file mode 100644
index 0000000..7092e60
--- /dev/null
+++ b/src/log.h
@@ -0,0 +1,9 @@
+#include <stdarg.h>
+#include <stdio.h>
+
+void log_init(void);
+void log_info(const char *fmtstr, ...);
+void log_end(void);
+
+extern int log_active;
+extern FILE *log_file;