diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-01 23:14:57 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-01 23:24:58 +0200 |
commit | e0d721487a618490a7db06f76904868a71684071 (patch) | |
tree | 6ef0e0d41577a4631033ac897ee8f27b3a34ccf1 /service.h | |
parent | 843fe9bb5b77fd20153816400ce918989730f99d (diff) | |
download | unitd-e0d721487a618490a7db06f76904868a71684071.tar unitd-e0d721487a618490a7db06f76904868a71684071.zip |
implement more parts of the service core api
Diffstat (limited to 'service.h')
-rw-r--r-- | service.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; }; - |