summaryrefslogtreecommitdiffstats
path: root/service.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-01 23:14:57 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-06-01 23:24:58 +0200
commite0d721487a618490a7db06f76904868a71684071 (patch)
tree6ef0e0d41577a4631033ac897ee8f27b3a34ccf1 /service.h
parent843fe9bb5b77fd20153816400ce918989730f99d (diff)
downloadunitd-e0d721487a618490a7db06f76904868a71684071.tar
unitd-e0d721487a618490a7db06f76904868a71684071.zip
implement more parts of the service core api
Diffstat (limited to 'service.h')
-rw-r--r--service.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/service.h b/service.h
index 5b86b3a..c2afdae 100644
--- 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;
};
-