summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-08-27 20:15:21 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-08-27 20:15:21 +0000
commit381b64487199a9edd46e84f7ff134722c3c3bcfc (patch)
treec7b08bd79c25cb1153b300d4d0cb5743ab1d1454 /src/include
parent8d9bb38022b9282128e5ddbfa8f62f9023a8698b (diff)
downloads6-rc-381b64487199a9edd46e84f7ff134722c3c3bcfc.tar.xz
More work on s6-rc-update
Diffstat (limited to 'src/include')
-rw-r--r--src/include/s6-rc/s6rc-constants.h3
-rw-r--r--src/include/s6-rc/s6rc-utils.h2
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