From da164d5a27f61e3f935e3b223849fabbd717fc30 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 2 Sep 2015 15:35:19 +0000 Subject: Fix the regression in s6-rc-init; progress on s6-rc-update --- src/include/s6-rc/s6rc-servicedir.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/s6-rc/s6rc-servicedir.h b/src/include/s6-rc/s6rc-servicedir.h index e9475bd..93baef7 100644 --- a/src/include/s6-rc/s6rc-servicedir.h +++ b/src/include/s6-rc/s6rc-servicedir.h @@ -3,12 +3,15 @@ #ifndef S6RC_SERVICEDIR_H #define S6RC_SERVICEDIR_H +#include + extern int s6rc_servicedir_block (char const *) ; extern int s6rc_servicedir_unblock (char const *, int) ; extern int s6rc_servicedir_copy_offline (char const *, char const *) ; extern int s6rc_servicedir_copy_online (char const *, char const *) ; #define s6rc_servicedir_copy(src, dst, h) ((h) ? s6rc_servicedir_copy_online(src, dst) : s6rc_servicedir_copy_offline(src, dst)) -extern int s6rc_servicedir_supervise () ; -extern void s6rc_servicedir_unsupervise (char const *, char const *const *, unsigned int) ; + +extern int s6rc_servicedir_manage (char const *, tain_t const *, tain_t *) ; +#define s6rc_servicedir_manage_g(live, deadline) s6rc_servicedir_manage(live, (deadline), &STAMP) #endif -- cgit v1.2.3