aboutsummaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@opmbx.org>2015-04-26 21:43:42 -0300
committerMatias Linares <matiaslina@opmbx.org>2015-04-26 21:43:42 -0300
commit2dd5cf430edaae01594d566c9f27d780c3ffb4ef (patch)
tree13111bc82a73e951d5d7c07865a206c025d15529 /log.h
downloadmedianinfs-2dd5cf430edaae01594d566c9f27d780c3ffb4ef.tar.gz
Initial commit
Diffstat (limited to 'log.h')
-rw-r--r--log.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/log.h b/log.h
new file mode 100644
index 0000000..384f0e6
--- /dev/null
+++ b/log.h
@@ -0,0 +1,16 @@
+/* $Date: 2010-09-30 15:40:39 -0300 (Thu, 30 Sep 2010) $ */
+/* $Revision: 1364 $ */
+
+#ifndef __LOG_H
+#define __LOG_H
+
+#include <stdio.h>
+
+int log_open(const char *filename, const int level);
+void log_close(void);
+
+void debug1(const char *format, ...) __attribute__((format(printf, 1, 2)));
+void debug2(const char *format, ...) __attribute__((format(printf, 1, 2)));
+void debug3(const char *format, ...) __attribute__((format(printf, 1, 2)));
+
+#endif /* __LOG_H */