about summary refs log tree commit diff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2022-08-20 09:20:56 +0000
committerLaurent Bercot <ska@appnovation.com>2022-08-20 09:20:56 +0000
commit28f5b4e7a5cce43198269f26583e66a232a976b5 (patch)
treea9fb8a49920db08193aa7ad2d88d533b8e1ea141 /src/include
parent632acb58b77d08a384ada611b5ab1ebca96ff85d (diff)
downloads6-28f5b4e7a5cce43198269f26583e66a232a976b5.tar.gz
s6-28f5b4e7a5cce43198269f26583e66a232a976b5.tar.xz
s6-28f5b4e7a5cce43198269f26583e66a232a976b5.zip
Factor s6_auto_write_logrun into a new libs6auto
libs6auto distinct from libs6 because of execline dep.

Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/s6/auto.h11
-rw-r--r--src/include/s6/s6.h1
2 files changed, 12 insertions, 0 deletions
diff --git a/src/include/s6/auto.h b/src/include/s6/auto.h
new file mode 100644
index 0000000..b8faff6
--- /dev/null
+++ b/src/include/s6/auto.h
@@ -0,0 +1,11 @@
+/* ISC license. */
+
+#ifndef S6_AUTO_H
+#define S6_AUTO_H
+
+#include <skalibs/uint64.h>
+#include <skalibs/stralloc.h>
+
+int s6_auto_write_logrun (char const *, char const *, char const *, unsigned int, unsigned int, uint64_t, uint64_t, stralloc *) ;
+
+#endif
diff --git a/src/include/s6/s6.h b/src/include/s6/s6.h
index 5b32a86..ef521bb 100644
--- a/src/include/s6/s6.h
+++ b/src/include/s6/s6.h
@@ -9,5 +9,6 @@
 #include <s6/ftrigw.h>
 #include <s6/accessrules.h>
 #include <s6/lock.h>
+#include <s6/auto.h>
 
 #endif