diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-22 22:05:56 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-22 22:05:56 +0000 |
| commit | e0bcc0ef3466b7b5fc776d2e78d7e7ec027810c0 (patch) | |
| tree | d9686a3c25525760ef9ce5ed5594ec382b3fb6e7 /src/include | |
| parent | 3b9836248ed7f5164140d63e96ece21973fc43f7 (diff) | |
| download | s6-rc-e0bcc0ef3466b7b5fc776d2e78d7e7ec027810c0.tar.gz | |
Separate libs6rcrepo
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/s6-rc/repo.h | 4 | ||||
| -rw-r--r-- | src/include/s6-rc/s6rc-utils.h | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/include/s6-rc/repo.h b/src/include/s6-rc/repo.h index ca17b4b..17b7047 100644 --- a/src/include/s6-rc/repo.h +++ b/src/include/s6-rc/repo.h @@ -19,6 +19,10 @@ struct s6rc_repo_sv_s extern int s6rc_repo_sv_cmpr (void const *, void const *, void *) ; extern int s6rc_repo_sv_bcmpr (void const *a, void const *b, void *aux) ; +extern int s6rc_repo_nlto0 (char *, size_t, size_t, genalloc *) ; +extern int s6rc_repo_type_check (char const *) ; +extern int s6rc_repo_ls (char const *, stralloc *, genalloc *) ; + extern char const s6rc_repo_subnames[4][7] ; extern int s6rc_repo_makestores (char const *, char const *const *, uint16_t, char *) ; diff --git a/src/include/s6-rc/s6rc-utils.h b/src/include/s6-rc/s6rc-utils.h index 7da49ee..84f035b 100644 --- a/src/include/s6-rc/s6rc-utils.h +++ b/src/include/s6-rc/s6rc-utils.h @@ -7,8 +7,6 @@ #include <stdint.h> #include <skalibs/stralloc.h> -#include <skalibs/genalloc.h> -#include <skalibs/avltree.h> #include <s6-rc/s6rc-db.h> @@ -25,8 +23,4 @@ extern int s6rc_livedir_canon (char const **) ; 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_ls (char const *, stralloc *, genalloc *) ; -extern int s6rc_type_check (int, char const *) ; -extern int s6rc_nlto0 (char *, size_t, size_t, genalloc *) ; - #endif |
