diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-08-04 16:30:18 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-08-04 16:30:18 +0000 |
| commit | 984dbc024561cc4f7b6974c9836b4862d73d13a9 (patch) | |
| tree | c493d1cd84956f02cd12b2086ad3cfddc0df0803 /src/include | |
| parent | 0f4be56abd8fc87e1c68f652f56051c6779db4e1 (diff) | |
| download | s6-rc-984dbc024561cc4f7b6974c9836b4862d73d13a9.tar.gz | |
More utilities: s6rc_nlto0, s6rc_repo_set_listdeps
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/s6-rc/repo.h | 5 | ||||
| -rw-r--r-- | src/include/s6-rc/s6rc-utils.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/include/s6-rc/repo.h b/src/include/s6-rc/repo.h index 8927efe..1a47146 100644 --- a/src/include/s6-rc/repo.h +++ b/src/include/s6-rc/repo.h @@ -4,6 +4,10 @@ #define S6RC_REPO_H #include <stddef.h> +#include <stdint.h> + +#include <skalibs/stralloc.h> +#include <skalibs/genalloc.h> extern int s6rc_repo_cleanup (char const *) ; extern int s6rc_repo_sync (char const *, char const *const *, size_t, unsigned int, char const *) ; @@ -11,5 +15,6 @@ extern int s6rc_repo_lock (char const *, int) ; #define S6RC_REPO_SET_COMPILE_BUFLEN(repolen, setlen) ((repolen) + (setlen) + 45) extern int s6rc_repo_set_compile (char const *, char const *, char const *const *, size_t, char *, unsigned int, char const *) ; +extern int s6rc_repo_set_listdeps (char const *, char const *, uint32_t, stralloc *, genalloc *) ; #endif diff --git a/src/include/s6-rc/s6rc-utils.h b/src/include/s6-rc/s6rc-utils.h index 6334b96..362ca8a 100644 --- a/src/include/s6-rc/s6rc-utils.h +++ b/src/include/s6-rc/s6rc-utils.h @@ -7,6 +7,7 @@ #include <stdint.h> #include <skalibs/stralloc.h> +#include <skalibs/genalloc.h> #include <s6-rc/s6rc-db.h> @@ -24,5 +25,6 @@ extern int s6rc_live_state_size (char const *, uint32_t *, uint32_t *) ; extern int s6rc_live_state_read (char const *, unsigned char *, uint32_t) ; extern int s6rc_type_check (int, char const *) ; +extern int s6rc_nlto0 (char *, size_t, size_t, genalloc *) ; #endif |
