aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-07-09 08:13:55 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-07-09 08:13:55 +0000
commit6209d961fd35c1d4e92d26c76a8ba0e98f1a6415 (patch)
treec81dd76930b52f5010e1a55a7906b0f3b28bb662 /src/include
parent50f4e65aa2776e0916ad90130dcd28043154dfd5 (diff)
downloads6-rc-6209d961fd35c1d4e92d26c76a8ba0e98f1a6415.tar.gz
Add -c|--clean option to s6-rc (untested)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/s6-rc/s6rc-db.h1
-rw-r--r--src/include/s6-rc/s6rc-utils.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/s6-rc/s6rc-db.h b/src/include/s6-rc/s6rc-db.h
index 9b156f8..49b6dae 100644
--- a/src/include/s6-rc/s6rc-db.h
+++ b/src/include/s6-rc/s6rc-db.h
@@ -13,6 +13,7 @@
#define S6RC_DB_BANNER_END_LEN (sizeof(S6RC_DB_BANNER_END) - 1)
#define S6RC_DB_FLAG_ESSENTIAL 0x00000001U
+#define S6RC_DB_FLAG_RECOMMENDED 0x00000002U
typedef struct s6rc_oneshot_s s6rc_oneshot_t, *s6rc_oneshot_t_ref ;
diff --git a/src/include/s6-rc/s6rc-utils.h b/src/include/s6-rc/s6rc-utils.h
index 84f035b..15a3b74 100644
--- a/src/include/s6-rc/s6rc-utils.h
+++ b/src/include/s6-rc/s6rc-utils.h
@@ -11,6 +11,7 @@
#include <s6-rc/s6rc-db.h>
extern void s6rc_graph_closure (s6rc_db_t const *, unsigned char *, unsigned int, int) ;
+extern void s6rc_graph_clean (s6rc_db_t const *, unsigned char *, unsigned int, unsigned int, unsigned int) ;
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 *) ;