From 3b56d41ef579c18feafbf47d170a6ea4375beb6f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 4 Nov 2025 22:23:28 +0000 Subject: Lots of work done, doesn't build yet, next commit will - alias subsystem moved to s6 - config subsystem deleted - new helpers subsystem, with a s6-frontend-helper-kill program - new s6f_equote function, to execline-quote an argv - started the adaptation to the new s6-rc functions, in progress --- src/include-local/s6f.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/include-local/s6f.h') diff --git a/src/include-local/s6f.h b/src/include-local/s6f.h index b11da75..a775eef 100644 --- a/src/include-local/s6f.h +++ b/src/include-local/s6f.h @@ -3,7 +3,6 @@ #ifndef S6F_H #define S6F_H -#include #include #include @@ -14,11 +13,10 @@ struct s6f_confdirs_s char const *scan ; /* $XDG_RUNTIME_DIR/service */ char const *live ; /* $XDG_RUNTIME_DIR/s6-rc */ char const *repo ; /* $XDG_DATA_HOME/s6-frontend/repository */ - char const *boot ; /* $XDG_CONFIG_HOME/s6-rc */ + char const *boot ; /* $XDG_CONFIG_HOME/s6-rc/compiled/current */ char const *stmp ; /* $XDG_RUNTIME_DIR/s6-frontend */ } ; -extern void s6f_mkdirp (char const *, mode_t) ; extern int s6f_confdir_open (char const *, int) ; extern int s6f_lock (char const *, int) ; @@ -26,4 +24,7 @@ extern void s6f_report_state_change (uint32_t, unsigned char const *, unsigned c extern void s6f_user_get_confdirs (s6f_confdirs *, stralloc *) ; +extern size_t s6f_equote_space (char const *const *, unsigned int) ; +extern unsigned int s6f_equote (char const **, char const *const *, unsigned int, char *) ; + #endif -- cgit v1.3.1