summaryrefslogtreecommitdiffstats
path: root/src/log.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-01-07 17:45:20 +0100
committerLouis Burda <quent.burda@gmail.com>2022-01-07 18:17:19 +0100
commit43282adc30aadefb563ef26bea1233d4cbdb6007 (patch)
tree4f652c6f9052f310ec6ed9c9148265ef476ae9ba /src/log.h
parent7902429e5d69bb6aa57c6f1411b163d3e037e0e1 (diff)
downloadtmus-43282adc30aadefb563ef26bea1233d4cbdb6007.tar.gz
tmus-43282adc30aadefb563ef26bea1233d4cbdb6007.zip
Added MPRIS control
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;