From 6b24134383e78124e81ac94b1c9e21383fcc1308 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 9 Feb 2024 20:53:54 +0000 Subject: driver: provide wrappers for argv_usage() and argv_usage_plain(). --- src/internal/slibtool_driver_impl.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/internal/slibtool_driver_impl.h') diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h index 825eb2a..c81fe67 100644 --- a/src/internal/slibtool_driver_impl.h +++ b/src/internal/slibtool_driver_impl.h @@ -196,6 +196,20 @@ struct argv_meta * slbt_argv_get( void slbt_argv_free(struct argv_meta *); +void slbt_argv_usage( + int fd, + const char * header, + const struct argv_option **, + const char * mode); + + +void slbt_argv_usage_plain( + int fd, + const char * header, + const struct argv_option **, + const char * mode); + + int slbt_driver_usage( int fdout, const char * program, -- cgit v1.2.3