summaryrefslogtreecommitdiffstats
path: root/service.h
blob: 5b86b3a0760f02a2447e2961f7d386c538059f69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <libubox/avl.h>
#include <libubox/vlist.h>

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;
};