summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-09 19:51:11 +0000
committermidipix <writeonce@midipix.org>2024-02-09 19:51:11 +0000
commit1ed0177f9a16f6da5d6d0c89bc0d8c522a9a848f (patch)
tree56b14cf963391c97f9ec997e07c7c97eef670e12 /src/internal
parent8f60d4195d6fe703ec4d19bcf06162ea8fc548a4 (diff)
downloadslibtool-1ed0177f9a16f6da5d6d0c89bc0d8c522a9a848f.tar.bz2
slibtool-1ed0177f9a16f6da5d6d0c89bc0d8c522a9a848f.tar.xz
driver: move slbt_split_argv() to its own translation unit.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/slibtool_driver_impl.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h
index 32ae6c8..9a32c9b 100644
--- a/src/internal/slibtool_driver_impl.h
+++ b/src/internal/slibtool_driver_impl.h
@@ -169,6 +169,29 @@ struct slbt_archive_ctx_impl {
};
+uint64_t slbt_argv_flags(uint64_t flags);
+
+
+int slbt_driver_usage(
+ int fdout,
+ const char * program,
+ const char * arg,
+ const struct argv_option ** optv,
+ struct argv_meta * meta,
+ struct slbt_split_vector * sargv,
+ struct slbt_obj_list * objlistv,
+ int noclr);
+
+
+int slbt_split_argv(
+ char ** argv,
+ uint64_t flags,
+ struct slbt_split_vector * sargv,
+ struct slbt_obj_list ** aobjlistv,
+ int fderr,
+ int fdcwd);
+
+
int slbt_init_host_params(
const struct slbt_driver_ctx * dctx,
const struct slbt_common_ctx * cctx,