udebug: add support for logging via udebug
[project/procd.git] / procd.h
diff --git a/procd.h b/procd.h
index fd29a128170ffcd7dd44a1aab5a7ce59cb917b86..bca3c42dfaeca614891243b3d8b5bcfa88968633 100644 (file)
--- a/procd.h
+++ b/procd.h
@@ -18,6 +18,7 @@
 #include <libubox/uloop.h>
 #include <libubox/utils.h>
 #include <libubus.h>
+#include <udebug.h>
 
 #include <stdio.h>
 #include <syslog.h>
@@ -55,4 +56,7 @@ void watch_add(const char *_name, void *id);
 void watch_del(void *id);
 void watch_ubus(struct ubus_context *ctx);
 
+void procd_udebug_printf(const char *format, ...);
+void procd_udebug_set_enabled(bool val);
+
 #endif