From 84c2e44d4c1ae46418cc8f7891b31e9df4131d96 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 7 Jun 2012 18:58:42 +0200 Subject: move instance code to a separate source file --- instance.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 instance.h (limited to 'instance.h') 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 -- cgit v1.2.3