diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-07 18:58:42 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-07 18:58:42 +0200 |
commit | 84c2e44d4c1ae46418cc8f7891b31e9df4131d96 (patch) | |
tree | f04e35d4d0f6dca6960f119254b13cf3ce740693 /instance.h | |
parent | 86009b5439a898fa00cc27e675bb7834576be70a (diff) | |
download | unitd-84c2e44d4c1ae46418cc8f7891b31e9df4131d96.tar unitd-84c2e44d4c1ae46418cc8f7891b31e9df4131d96.zip |
move instance code to a separate source file
Diffstat (limited to 'instance.h')
-rw-r--r-- | instance.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/instance.h b/instance.h new file mode 100644 index 0000000..8016a44 --- /dev/null +++ b/instance.h @@ -0,0 +1,10 @@ +#ifndef __PROCD_INSTANCE_H +#define __PROCD_INSTANCE_H + +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_free(struct service_instance *in); + +#endif |