aboutsummaryrefslogtreecommitdiffstats
path: root/src/include-local/s6f.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include-local/s6f.h')
-rw-r--r--src/include-local/s6f.h10
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