initial import: starts and connects to ubus
[project/procd.git] / service.h
1 #include <libubox/avl.h>
2 #include <libubox/vlist.h>
3
4 struct service {
5         struct avl_node avl;
6         const char *name;
7
8         struct vlist_tree instances;
9 };
10
11 struct service_instance {
12         struct vlist_node node;
13         const char *name;
14
15         struct blob_attr *config;
16         struct uloop_process proc;
17 };
18
19