X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=service%2Fservice.h;h=8f94ecdaa317c6e87a5731dbbd4480d00a8010d3;hp=cc629b123a8b7471ab652bfa2fb1947d77deef61;hb=6900a6be63c63707c304cfe79c7469725fd07c11;hpb=8f218f5626a3cb3900dbe9801ee8ace236b0e4a5 diff --git a/service/service.h b/service/service.h index cc629b1..8f94ecd 100644 --- a/service/service.h +++ b/service/service.h @@ -18,6 +18,7 @@ #include #include #include +#include "../utils/utils.h" extern struct avl_tree services; @@ -41,10 +42,13 @@ struct service { struct avl_node avl; const char *name; bool deleted; + bool autostart; struct blob_attr *trigger; struct vlist_tree instances; struct list_head validators; + struct blob_attr *data; + struct blobmsg_list data_blob; }; void service_validate_add(struct service *s, struct blob_attr *attr);