about summary refs log tree commit diff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-02-08 04:09:30 +0000
committerLaurent Bercot <ska@appnovation.com>2023-02-08 04:09:30 +0000
commit370e78d9230d18b260df395e6d437c241b02c93c (patch)
tree3216eb9efa542404ff8067c7589077583b7df292 /src/include
parentc6b70ab00c94d26f0df6a96fde3ffe7324254a23 (diff)
downloads6-370e78d9230d18b260df395e6d437c241b02c93c.tar.gz
s6-370e78d9230d18b260df395e6d437c241b02c93c.tar.xz
s6-370e78d9230d18b260df395e6d437c241b02c93c.zip
Add s6_servicedir_instances_recreate_offline functions
This will be used for more transparent instance management
in s6-rc.

Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/s6/servicedir.h5
1 files changed, 5 insertions, 0 deletions
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 <stdint.h>
 
+#include <skalibs/stralloc.h>
+
 #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