diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-06-18 18:58:34 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-06-18 18:58:34 +0000 |
| commit | 8a6eaed305dbe4ec6a87fe37000f7461bf563937 (patch) | |
| tree | c80d489ba6852447f56eb805e0ada4005b94b89f /src/include-local/s6f.h | |
| parent | 83622b9b37821cccab3c535209200b9ccd2ba6a3 (diff) | |
| download | s6-frontend-8a6eaed305dbe4ec6a87fe37000f7461bf563937.tar.gz | |
Add a lot of stuff, implement basic service_start
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include-local/s6f.h')
| -rw-r--r-- | src/include-local/s6f.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include-local/s6f.h b/src/include-local/s6f.h index 4879536..2eafd75 100644 --- a/src/include-local/s6f.h +++ b/src/include-local/s6f.h @@ -3,6 +3,9 @@ #ifndef S6F_H #define S6F_H +#include <sys/stat.h> +#include <stdint.h> + #include <skalibs/stralloc.h> typedef struct s6f_confdirs_s s6f_confdirs, *s6f_confdirs_ref ; @@ -12,8 +15,15 @@ struct s6f_confdirs_s 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 *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) ; + +extern void s6f_report_state_change (uint32_t, unsigned char const *, unsigned char const *, char const *) ; + extern void s6f_user_get_confdirs (s6f_confdirs *, stralloc *) ; #endif |
