diff options
author | midipix <writeonce@midipix.org> | 2024-02-09 20:53:54 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-09 20:53:54 +0000 |
commit | 6b24134383e78124e81ac94b1c9e21383fcc1308 (patch) | |
tree | 3403840ca67cc7eb42a956f3f1c1682010670235 /src/internal | |
parent | c3d88b9a38867353e774c7f0380686d46dc368f3 (diff) | |
download | slibtool-6b24134383e78124e81ac94b1c9e21383fcc1308.tar.bz2 slibtool-6b24134383e78124e81ac94b1c9e21383fcc1308.tar.xz |
driver: provide wrappers for argv_usage() and argv_usage_plain().
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/slibtool_driver_impl.h | 14 |
1 files changed, 14 insertions, 0 deletions
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, |