udebug: add ulog support
[project/libubox.git] / ulog.h
diff --git a/ulog.h b/ulog.h
index 46d3c77da9c24d8aa355631f61f6d20abfc11a44..0b81cc30f2f6c6f5b9604f1953954c9d4e405df4 100644 (file)
--- a/ulog.h
+++ b/ulog.h
@@ -21,6 +21,8 @@
 
 #include <syslog.h>
 
+#include "udebug.h"
+
 enum {
        ULOG_KMSG   = (1 << 0),
        ULOG_SYSLOG = (1 << 1),
@@ -28,6 +30,7 @@ enum {
 };
 
 void ulog_open(int channels, int facility, const char *ident);
+void ulog_udebug(struct udebug_buf *udb);
 void ulog_close(void);
 
 void ulog_threshold(int threshold);