summaryrefslogtreecommitdiff
path: root/src/arbits/output/slbt_ar_output_arname.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-19 01:19:51 +0000
committermidipix <writeonce@midipix.org>2024-02-19 02:59:31 +0000
commit3fa3e3256e30f62d24889b572e3ae65ffb63876a (patch)
tree613447411930945a2afc5c6684f07e0780d7cf8f /src/arbits/output/slbt_ar_output_arname.c
parentc250d4dcf9df9f5889a07a57291617d1360160bf (diff)
downloadslibtool-3fa3e3256e30f62d24889b572e3ae65ffb63876a.tar.bz2
slibtool-3fa3e3256e30f62d24889b572e3ae65ffb63876a.tar.xz
library api's: _au_ (archiver utility) namespace overhaul.
Diffstat (limited to 'src/arbits/output/slbt_ar_output_arname.c')
-rw-r--r--src/arbits/output/slbt_ar_output_arname.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/arbits/output/slbt_ar_output_arname.c b/src/arbits/output/slbt_ar_output_arname.c
index 38917e7..131e749 100644
--- a/src/arbits/output/slbt_ar_output_arname.c
+++ b/src/arbits/output/slbt_ar_output_arname.c
@@ -15,7 +15,7 @@
| SLBT_PRETTY_POSIX \
| SLBT_PRETTY_HEXDATA)
-static int slbt_ar_output_arname_impl(
+static int slbt_au_output_arname_impl(
const struct slbt_driver_ctx * dctx,
const struct slbt_archive_ctx * actx,
const struct slbt_fd_ctx * fdctx,
@@ -32,12 +32,12 @@ static int slbt_ar_output_arname_impl(
return 0;
}
-static int slbt_ar_output_arname_posix(
+static int slbt_au_output_arname_posix(
const struct slbt_driver_ctx * dctx,
const struct slbt_archive_ctx * actx,
const struct slbt_fd_ctx * fdctx)
{
- if (slbt_ar_output_arname_impl(
+ if (slbt_au_output_arname_impl(
dctx,actx,fdctx,
"%s:\n") < 0)
return SLBT_NESTED_ERROR(dctx);
@@ -45,12 +45,12 @@ static int slbt_ar_output_arname_posix(
return 0;
}
-static int slbt_ar_output_arname_yaml(
+static int slbt_au_output_arname_yaml(
const struct slbt_driver_ctx * dctx,
const struct slbt_archive_ctx * actx,
const struct slbt_fd_ctx * fdctx)
{
- if (slbt_ar_output_arname_impl(
+ if (slbt_au_output_arname_impl(
dctx,actx,fdctx,
"Archive:\n"
" - Meta:\n"
@@ -60,7 +60,7 @@ static int slbt_ar_output_arname_yaml(
return 0;
}
-int slbt_ar_output_arname(const struct slbt_archive_ctx * actx)
+int slbt_au_output_arname(const struct slbt_archive_ctx * actx)
{
const struct slbt_driver_ctx * dctx;
struct slbt_fd_ctx fdctx;
@@ -72,15 +72,15 @@ int slbt_ar_output_arname(const struct slbt_archive_ctx * actx)
switch (dctx->cctx->fmtflags & SLBT_PRETTY_FLAGS) {
case SLBT_PRETTY_YAML:
- return slbt_ar_output_arname_yaml(
+ return slbt_au_output_arname_yaml(
dctx,actx,&fdctx);
case SLBT_PRETTY_POSIX:
- return slbt_ar_output_arname_posix(
+ return slbt_au_output_arname_posix(
dctx,actx,&fdctx);
default:
- return slbt_ar_output_arname_yaml(
+ return slbt_au_output_arname_yaml(
dctx,actx,&fdctx);
}
}