diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/s6-rc/s6rc-servicedir.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 <skalibs/tai.h> + 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 |