aboutsummaryrefslogtreecommitdiffstats
path: root/src/include-local/s6f.h
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-11-04 22:23:28 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2025-11-04 22:23:28 +0000
commit3b56d41ef579c18feafbf47d170a6ea4375beb6f (patch)
tree87d634d029dba1f786d04df4f35b75af996c74b3 /src/include-local/s6f.h
parent2ea40fd0c6b05d29edf5a3b62f4c0f1af6e8b8d8 (diff)
downloads6-frontend-3b56d41ef579c18feafbf47d170a6ea4375beb6f.tar.gz
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
Diffstat (limited to 'src/include-local/s6f.h')
-rw-r--r--src/include-local/s6f.h7
1 files changed, 4 insertions, 3 deletions
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 <sys/stat.h>
#include <stdint.h>
#include <skalibs/stralloc.h>
@@ -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