add the service object
[project/procd.git] / procd.h
diff --git a/procd.h b/procd.h
index cc063b36b54a741174d4aac6c6992ecc87b8b136..8b331438b71272f3e8b116c1b77a6dae2dff4d03 100644 (file)
--- a/procd.h
+++ b/procd.h
@@ -2,6 +2,7 @@
 #define __PROCD_H
 
 #include <libubox/uloop.h>
+#include <libubus.h>
 #include <stdio.h>
 
 #define DPRINTF(fmt, ...) do { \
@@ -12,5 +13,6 @@
 extern int debug;
 extern char *ubus_socket;
 void procd_connect_ubus(void);
+void procd_register_objects(struct ubus_context *ctx);
 
 #endif