diff options
author | John Crispin <blogic@openwrt.org> | 2014-06-05 15:02:29 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-06-06 10:47:41 +0200 |
commit | 53c1ea6b9ade10eff3cec07519db862b365a4233 (patch) | |
tree | eb66af52ae9160192ee24299397ea3c2a0424773 /service/instance.h | |
parent | 45ca87272954f46eb6d55365d5a2fbe3520d66ce (diff) | |
download | unitd-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.h | 1 |
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); |