From ca808f5c335a873c87359ce024e1a14ebae706b9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 1 Jun 2012 09:50:29 +0200 Subject: initial import: starts and connects to ubus --- service.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 service.h (limited to 'service.h') diff --git a/service.h b/service.h new file mode 100644 index 0000000..5b86b3a --- /dev/null +++ b/service.h @@ -0,0 +1,19 @@ +#include +#include + +struct service { + struct avl_node avl; + const char *name; + + struct vlist_tree instances; +}; + +struct service_instance { + struct vlist_node node; + const char *name; + + struct blob_attr *config; + struct uloop_process proc; +}; + + -- cgit v1.2.3