summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-09-02 11:42:33 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-09-02 11:42:33 +0000
commit858dfd34bca20ea49d41f2f0249554d9cb225069 (patch)
tree4addc97c424bf448c37d23577c44b8eb5414e79e /src/include
parentee111aabf49128fe88968f658b0f4b683a3caa00 (diff)
downloads6-rc-858dfd34bca20ea49d41f2f0249554d9cb225069.tar.xz
Intermediate commit to fix a regression
Diffstat (limited to 'src/include')
-rw-r--r--src/include/s6-rc/s6rc-constants.h3
-rw-r--r--src/include/s6-rc/s6rc-servicedir.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/include/s6-rc/s6rc-constants.h b/src/include/s6-rc/s6rc-constants.h
index 05e2ff1..168dac8 100644
--- a/src/include/s6-rc/s6rc-constants.h
+++ b/src/include/s6-rc/s6rc-constants.h
@@ -3,9 +3,6 @@
#ifndef S6RC_CONSTANTS_H
#define S6RC_CONSTANTS_H
-#define S6RC_LIVE_REAL_SUFFIX ".real"
-#define S6RC_LIVE_NEW_SUFFIX ".new"
-
#define S6RC_COMPILED_BASE "/etc/s6-rc/compiled"
#define S6RC_ONESHOT_RUNNER "s6rc-oneshot-runner"
diff --git a/src/include/s6-rc/s6rc-servicedir.h b/src/include/s6-rc/s6rc-servicedir.h
index d52fddf..e9475bd 100644
--- a/src/include/s6-rc/s6rc-servicedir.h
+++ b/src/include/s6-rc/s6rc-servicedir.h
@@ -8,5 +8,7 @@ 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) ;
#endif