summaryrefslogtreecommitdiffstats
path: root/service/instance.h
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-05 15:02:29 +0200
committerJohn Crispin <blogic@openwrt.org>2014-06-06 10:47:41 +0200
commit53c1ea6b9ade10eff3cec07519db862b365a4233 (patch)
treeeb66af52ae9160192ee24299397ea3c2a0424773 /service/instance.h
parent45ca87272954f46eb6d55365d5a2fbe3520d66ce (diff)
downloadunitd-53c1ea6b9ade10eff3cec07519db862b365a4233.tar
unitd-53c1ea6b9ade10eff3cec07519db862b365a4233.zip
allow instances to report errors. if an error is set, the instance wont be started
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'service/instance.h')
-rw-r--r--service/instance.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/instance.h b/service/instance.h
index e7416ab..a492f38 100644
--- a/service/instance.h
+++ b/service/instance.h
@@ -50,6 +50,7 @@ struct service_instance {
struct blobmsg_list netdev;
struct blobmsg_list file;
struct blobmsg_list limits;
+ struct blobmsg_list errors;
};
void instance_start(struct service_instance *in);