diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-24 18:43:46 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-24 18:43:46 +0200 |
commit | 14447cd46a3c6ad3f5b08e921b39a694b4ad14b0 (patch) | |
tree | 60cad28e9dc662394b3ec937a781567684e75f08 /instance.h | |
parent | 063b8c2b5301646335dac66f1167bc8f128537a7 (diff) | |
download | unitd-14447cd46a3c6ad3f5b08e921b39a694b4ad14b0.tar unitd-14447cd46a3c6ad3f5b08e921b39a694b4ad14b0.zip |
add more parsing code
Diffstat (limited to 'instance.h')
-rw-r--r-- | instance.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3,15 +3,21 @@ #include <libubox/vlist.h> #include <libubox/uloop.h> +#include "utils.h" struct service_instance { struct vlist_node node; const char *name; + bool valid; bool restart; struct blob_attr *config; struct uloop_process proc; struct uloop_timeout timeout; + + struct blob_attr *command; + struct blobmsg_list env; + struct blobmsg_list data; }; void instance_start(struct service_instance *in); |