diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-24 23:41:32 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-24 23:41:32 +0200 |
commit | 31353099a886fc4fac4293989330847ea51e44d0 (patch) | |
tree | 039b6be47aae7bcf36b6eed748b0be04ec4fe0f3 /instance.h | |
parent | 2c6b282d4b4a22e511e8cced48263fd0bc9cc6da (diff) | |
download | unitd-31353099a886fc4fac4293989330847ea51e44d0.tar unitd-31353099a886fc4fac4293989330847ea51e44d0.zip |
add a debug message for showing starting of instances
Diffstat (limited to 'instance.h')
-rw-r--r-- | instance.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,6 +7,7 @@ struct service_instance { struct vlist_node node; + struct service *srv; const char *name; bool valid; @@ -23,7 +24,7 @@ struct service_instance { void instance_start(struct service_instance *in); void instance_stop(struct service_instance *in, bool restart); bool instance_update(struct service_instance *in, struct service_instance *in_new); -void instance_init(struct service_instance *in, struct blob_attr *config); +void instance_init(struct service_instance *in, struct service *s, struct blob_attr *config); void instance_free(struct service_instance *in); void instance_dump(struct blob_buf *b, struct service_instance *in); |