diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/s6-rc/s6rc-constants.h | 3 | ||||
-rw-r--r-- | src/include/s6-rc/s6rc-utils.h | 2 |
2 files changed, 5 insertions, 0 deletions
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 <skalibs/stralloc.h> #include <s6-rc/s6rc-db.h> 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 |