X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=service.h;h=527e511ac1bcc8b930552de7e4f270554a14dec5;hp=96175c4713d578d98f326d5745cb15abd298c82d;hb=d2602e4d3459271c2b4d3632a70539412eb29e7c;hpb=adcfdfd838f54f15ec7f4be6b5e8e5b78ddd3393 diff --git a/service.h b/service.h index 96175c4..527e511 100644 --- a/service.h +++ b/service.h @@ -1,3 +1,6 @@ +#ifndef __PROCD_SERVICE_H +#define __PROCD_SERVICE_H + #include #include @@ -11,13 +14,4 @@ struct service { struct vlist_tree instances; }; -struct service_instance { - struct vlist_node node; - const char *name; - - bool restart; - struct blob_attr *config; - struct uloop_process proc; - struct uloop_timeout timeout; -}; - +#endif