From c3d88b9a38867353e774c7f0380686d46dc368f3 Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Fri, 9 Feb 2024 20:44:01 +0000
Subject: driver: eliminate duplicate presence of the static argv interfaces.

---
 src/internal/slibtool_driver_impl.h | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

(limited to 'src/internal')

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,
-- 
cgit v1.2.3