diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-10-08 15:39:57 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-10-08 15:39:57 +0000 |
commit | f9940bb7d1a6ce7d7772e8cbdbbd55a321cc5c18 (patch) | |
tree | 352798ff6073e18a467a9ffeab548485070dc568 /src/include | |
parent | 8c341bbaca5e89a9620702bc0025641e815e4195 (diff) | |
download | s6-rc-f9940bb7d1a6ce7d7772e8cbdbbd55a321cc5c18.tar.xz |
Add -s to s6-rc-init; prepare for 0.3.0.0
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/s6-rc/s6rc-servicedir.h | 6 | ||||
-rw-r--r-- | src/include/s6-rc/s6rc-utils.h | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/include/s6-rc/s6rc-servicedir.h b/src/include/s6-rc/s6rc-servicedir.h index ed2f471..1648975 100644 --- a/src/include/s6-rc/s6rc-servicedir.h +++ b/src/include/s6-rc/s6rc-servicedir.h @@ -10,9 +10,9 @@ 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 void s6rc_servicedir_unsupervise (char const *, char const *, int) ; +extern void s6rc_servicedir_unsupervise (char const *, char const *, char const *, 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) +extern int s6rc_servicedir_manage (char const *, char const *, tain_t const *, tain_t *) ; +#define s6rc_servicedir_manage_g(live, suffix, deadline) s6rc_servicedir_manage(live, suffix, (deadline), &STAMP) #endif diff --git a/src/include/s6-rc/s6rc-utils.h b/src/include/s6-rc/s6rc-utils.h index 22d8324..ad1f1ef 100644 --- a/src/include/s6-rc/s6rc-utils.h +++ b/src/include/s6-rc/s6rc-utils.h @@ -12,4 +12,7 @@ extern int s6rc_lock (char const *, int, int *, char const *, int, int *, int) ; extern int s6rc_read_uint (char const *, unsigned int *) ; extern int s6rc_sanitize_dir (stralloc *, char const *, size_t *) ; +extern int s6rc_livedir_suffixsize (char const *, size_t *) ; +extern ssize_t s6rc_livedir_suffix (char const *, char *, size_t) ; + #endif |