From 370e78d9230d18b260df395e6d437c241b02c93c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 8 Feb 2023 04:09:30 +0000 Subject: Add s6_servicedir_instances_recreate_offline functions This will be used for more transparent instance management in s6-rc. Signed-off-by: Laurent Bercot --- src/include/s6/servicedir.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/include') diff --git a/src/include/s6/servicedir.h b/src/include/s6/servicedir.h index b575370..c0b69c3 100644 --- a/src/include/s6/servicedir.h +++ b/src/include/s6/servicedir.h @@ -5,6 +5,8 @@ #include +#include + #define S6_SERVICEDIR_FILE_MAXLEN 16 #define S6_FILETYPE_NORMAL 0 @@ -26,4 +28,7 @@ struct s6_servicedir_desc_s extern s6_servicedir_desc const *const s6_servicedir_file_list ; +extern int s6_servicedir_instances_recreate_offline (char const *, char const *) ; +extern int s6_servicedir_instances_recreate_offline_tmp (char const *, char const *, stralloc *) ; + #endif -- cgit v1.2.3