X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=service%2Fservice.h;h=a433c9f834fcb2ee1fb3be683048c049aec7838b;hb=1c48104ffc7f8d2c27dd8660a03a7728540fa946;hp=892a1473e04161a8df46f0ebd289c696eaa2b98a;hpb=1fd4e60e9d03c0e3aa79f5f0bac87f07c63081f5;p=project%2Fprocd.git diff --git a/service/service.h b/service/service.h index 892a147..a433c9f 100644 --- a/service/service.h +++ b/service/service.h @@ -40,6 +40,8 @@ struct validate { struct service { struct avl_node avl; const char *name; + bool deleted; + bool autostart; struct blob_attr *trigger; struct vlist_tree instances; @@ -50,9 +52,10 @@ void service_validate_add(struct service *s, struct blob_attr *attr); void service_validate_dump(struct blob_buf *b, struct service *s); void service_validate_dump_all(struct blob_buf *b, char *p, char *s); int service_start_early(char *name, char *cmdline); +void service_stopped(struct service *s); void service_validate_del(struct service *s); -void service_validate_init(void); -void service_init(void); void service_event(const char *type, const char *service, const char *instance); + + #endif