aboutsummaryrefslogtreecommitdiff
path: root/weechat/debug.h
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-07-13 19:53:05 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-07-13 20:39:54 +0200
commita0f941e7ae0e6935152e5ce42bfb8b45d224c25d (patch)
treec48265465a15e34fb68ce673647cd0d7ab6dc929 /weechat/debug.h
parent13fd277b4a7090e47d351005db6a3dbadb66a0d0 (diff)
weechat: Abstract debug file into separate module
Diffstat (limited to 'weechat/debug.h')
-rw-r--r--weechat/debug.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/weechat/debug.h b/weechat/debug.h
new file mode 100644
index 0000000..95117a9
--- /dev/null
+++ b/weechat/debug.h
@@ -0,0 +1,9 @@
+#pragma once
+
+
+void debug_init(void);
+
+void debug_deinit(void);
+
+__attribute__((format (printf, 1, 2)))
+void debugf(const char *restrict format, ...);