From 1ed0177f9a16f6da5d6d0c89bc0d8c522a9a848f Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 9 Feb 2024 19:51:11 +0000 Subject: driver: move slbt_split_argv() to its own translation unit. --- src/internal/slibtool_driver_impl.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'src/internal') 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, -- cgit v1.2.3