aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs6rc/s6rc_repo_refcompile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6rc/s6rc_repo_refcompile.c')
-rw-r--r--src/libs6rc/s6rc_repo_refcompile.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libs6rc/s6rc_repo_refcompile.c b/src/libs6rc/s6rc_repo_refcompile.c
new file mode 100644
index 0000000..5cc4d18
--- /dev/null
+++ b/src/libs6rc/s6rc_repo_refcompile.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <s6-rc/repo.h>
+
+int s6rc_repo_refcompile (char const *repo, char *oldc, unsigned int verbosity, char const *fdhuser)
+{
+ static char const *const subs[2] = { ".atomics", ".bundles" } ;
+ return s6rc_repo_compile(repo, ".ref", subs, 3, oldc, verbosity, fdhuser) ;
+}