implement more parts of the service core api
[project/procd.git] / service.h
index 5b86b3a..c2afdae 100644 (file)
--- a/service.h
+++ b/service.h
@@ -1,10 +1,13 @@
 #include <libubox/avl.h>
 #include <libubox/vlist.h>
 
+extern struct avl_tree services;
+
 struct service {
        struct avl_node avl;
        const char *name;
 
+       struct blob_attr *config;
        struct vlist_tree instances;
 };
 
@@ -16,4 +19,3 @@ struct service_instance {
        struct uloop_process proc;
 };
 
-