summaryrefslogtreecommitdiffstats
path: root/spa/plugins/support/log-patterns.h
diff options
context:
space:
mode:
Diffstat (limited to 'spa/plugins/support/log-patterns.h')
-rw-r--r--spa/plugins/support/log-patterns.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/spa/plugins/support/log-patterns.h b/spa/plugins/support/log-patterns.h
new file mode 100644
index 0000000..a10b445
--- /dev/null
+++ b/spa/plugins/support/log-patterns.h
@@ -0,0 +1,13 @@
+#ifndef LOG_PATTERNS_H
+#define LOG_PATTERNS_H
+
+#include <spa/support/log.h>
+
+struct spa_list;
+
+void support_log_topic_init(struct spa_list *patterns, enum spa_log_level default_level,
+ struct spa_log_topic *t);
+int support_log_parse_patterns(struct spa_list *patterns, const char *jsonstr);
+void support_log_free_patterns(struct spa_list *patterns);
+
+#endif /* LOG_PATTERNS_H */