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/driver/slbt_driver_ctx.c | |
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/driver/slbt_driver_ctx.c')
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index a8aaffb..12748cd 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -131,6 +131,26 @@ void slbt_argv_free(struct argv_meta * meta) } +void slbt_argv_usage( + int fd, + const char * header, + const struct argv_option ** optv, + const char * mode) +{ + return argv_usage(fd,header,optv,mode); +} + + +void slbt_argv_usage_plain( + int fd, + const char * header, + const struct argv_option ** optv, + const char * mode) +{ + return argv_usage_plain(fd,header,optv,mode); +} + + uint64_t slbt_argv_flags(uint64_t flags) { uint32_t ret = 0; |