aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-01-24 16:17:39 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-01-24 16:17:39 +0000
commit7551c712d73f1d07f6dec2c9b8183a43204f4aa5 (patch)
treec219efcd39d6a5ef72bf3cef2898f04b41cfb25f /src/include
parentb71b06951c8f9250f87a16cd1e60b2d779bfcfff (diff)
downloads6-rc-7551c712d73f1d07f6dec2c9b8183a43204f4aa5.tar.gz
Rename "sub" to "prescription"
Diffstat (limited to 'src/include')
-rw-r--r--src/include/s6-rc/repo.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/s6-rc/repo.h b/src/include/s6-rc/repo.h
index 5957dd5..56ec5bf 100644
--- a/src/include/s6-rc/repo.h
+++ b/src/include/s6-rc/repo.h
@@ -13,7 +13,7 @@ typedef struct s6rc_repo_sv_s s6rc_repo_sv, *s6rc_repo_sv_ref ;
struct s6rc_repo_sv_s
{
uint32_t pos ;
- uint8_t sub ;
+ uint8_t rx ;
} ;
extern int s6rc_repo_sv_cmpr (void const *, void const *, void *) ;
@@ -23,7 +23,7 @@ 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 char const s6rc_repo_rxnames[4][7] ;
extern int s6rc_repo_makestores (char const *, char const *const *, uint16_t, char *) ;
@@ -35,7 +35,7 @@ extern void s6rc_repo_sanitize_svname (char const *) ;
extern int s6rc_repo_cleanup (char const *) ;
extern int s6rc_repo_sync (char const *, unsigned int, char const *) ;
extern int s6rc_repo_syncset (char const *, char const *, unsigned int) ;
-extern int s6rc_repo_syncset_tmp (char const *, char const *, stralloc *, genalloc *ga, unsigned int) ;
+extern int s6rc_repo_syncset_tmp (char const *, char const *, stralloc *, genalloc *, unsigned int) ;
extern int s6rc_repo_lock (char const *, int) ;
extern int s6rc_repo_touch (char const *) ;
extern int s6rc_repo_touchset (char const *, char const *) ;
@@ -51,7 +51,7 @@ extern int s6rc_repo_refcompile (char const *, char *, unsigned int, char const
extern int s6rc_repo_setcompile (char const *, char const *, char const *, char *, unsigned int, char const *) ;
extern int s6rc_repo_list_sets (char const *, stralloc *, genalloc *) ;
-extern int s6rc_repo_listsub (char const *, char const *, char const *, stralloc *, genalloc *) ;
+extern int s6rc_repo_listrx (char const *, char const *, char const *, stralloc *, genalloc *) ;
extern int s6rc_repo_listcontents (char const *, char const *, stralloc *, genalloc *) ;
extern int s6rc_repo_listdeps (char const *, char const *, stralloc *, genalloc *, int) ;
extern int s6rc_repo_listalldeps (char const *, char const *const *, uint32_t, stralloc *, genalloc *, int) ;
@@ -61,7 +61,7 @@ extern int s6rc_repo_getserviceflags (char const *, char const *, uint32_t *) ;
extern int s6rc_repo_flattenservices (char const *, char const *const *, uint32_t n, stralloc *storage, genalloc *indices) ;
extern int s6rc_repo_makesvlist (char const *, char const *, stralloc *, genalloc *, uint32_t *) ;
extern int s6rc_repo_makesvlist_byname (char const *, char const *, stralloc *, genalloc *) ;
-extern int s6rc_repo_badsub (char const *, char const *, char const **, uint32_t, uint8_t, uint8_t, s6rc_repo_sv const *, uint32_t, stralloc *, genalloc *, genalloc *) ;
+extern int s6rc_repo_badrx (char const *, char const *, char const **, uint32_t, uint8_t, uint8_t, s6rc_repo_sv const *, uint32_t, stralloc *, genalloc *, genalloc *) ;
extern int s6rc_repo_badpipeline (char const *, char const *, size_t, s6rc_repo_sv const *, uint32_t, uint8_t, stralloc *, genalloc *) ;
extern int s6rc_repo_moveservices (char const *, char const *, s6rc_repo_sv const *, uint32_t, uint8_t, char const *, unsigned int) ;
extern void s6rc_repo_removeinternals (genalloc *, unsigned int, char const *) ;