summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-09 20:44:01 +0000
committermidipix <writeonce@midipix.org>2024-02-09 20:44:01 +0000
commitc3d88b9a38867353e774c7f0380686d46dc368f3 (patch)
tree3401be76c9a0bc7193eab6d0bdcf927d668bd23a /src/internal
parent741c4dddf7138471f6929e6550b6557fce0f8bf2 (diff)
downloadslibtool-c3d88b9a38867353e774c7f0380686d46dc368f3.tar.bz2
slibtool-c3d88b9a38867353e774c7f0380686d46dc368f3.tar.xz
driver: eliminate duplicate presence of the static argv interfaces.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/slibtool_driver_impl.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h
index 52ccf9d..825eb2a 100644
--- a/src/internal/slibtool_driver_impl.h
+++ b/src/internal/slibtool_driver_impl.h
@@ -172,9 +172,30 @@ struct slbt_archive_ctx_impl {
const char * slbt_program_name(const char *);
+int slbt_optv_init(
+ const struct argv_option[],
+ const struct argv_option **);
+
+
uint64_t slbt_argv_flags(uint64_t flags);
+void slbt_argv_scan(
+ char ** argv,
+ const struct argv_option ** optv,
+ struct argv_ctx * ctx,
+ struct argv_meta * meta);
+
+
+struct argv_meta * slbt_argv_get(
+ char **,
+ const struct argv_option **,
+ int flags,
+ int fd);
+
+void slbt_argv_free(struct argv_meta *);
+
+
int slbt_driver_usage(
int fdout,
const char * program,