diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-09-02 15:35:19 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-09-02 15:35:19 +0000 |
commit | da164d5a27f61e3f935e3b223849fabbd717fc30 (patch) | |
tree | 12eecd20604e02ee22510c85480762b770b3514e /src/include | |
parent | 858dfd34bca20ea49d41f2f0249554d9cb225069 (diff) | |
download | s6-rc-da164d5a27f61e3f935e3b223849fabbd717fc30.tar.xz |
Fix the regression in s6-rc-init; progress on s6-rc-update
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 |