From 381b64487199a9edd46e84f7ff134722c3c3bcfc Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 27 Aug 2015 20:15:21 +0000 Subject: More work on s6-rc-update --- src/include/s6-rc/s6rc-constants.h | 3 +++ src/include/s6-rc/s6rc-utils.h | 2 ++ 2 files changed, 5 insertions(+) (limited to 'src/include') diff --git a/src/include/s6-rc/s6rc-constants.h b/src/include/s6-rc/s6rc-constants.h index 168dac8..05e2ff1 100644 --- a/src/include/s6-rc/s6rc-constants.h +++ b/src/include/s6-rc/s6rc-constants.h @@ -3,6 +3,9 @@ #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-utils.h b/src/include/s6-rc/s6rc-utils.h index c51c940..c382b85 100644 --- a/src/include/s6-rc/s6rc-utils.h +++ b/src/include/s6-rc/s6rc-utils.h @@ -3,9 +3,11 @@ #ifndef S6RC_UTILS_H #define S6RC_UTILS_H +#include #include extern void s6rc_graph_closure (s6rc_db_t const *, unsigned char *, unsigned int, int) ; extern int s6rc_read_uint (char const *, unsigned int *) ; +extern int s6rc_sanitize_dir (stralloc *, char const *, unsigned int *) ; #endif -- cgit v1.2.3