aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgrt-int.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-03-21 17:34:15 +0000
committerWerner Koch <[email protected]>2018-03-21 17:34:15 +0000
commited78ef7f06649f85f1c94c4fb2bd3f6b16fd9a63 (patch)
tree68ad5c4a98a60bf5a228830fcfe5f2b52aa9e72c /src/gpgrt-int.h
parentcore: Add the group of argparse functions. (diff)
downloadlibgpg-error-ed78ef7f06649f85f1c94c4fb2bd3f6b16fd9a63.tar.gz
libgpg-error-ed78ef7f06649f85f1c94c4fb2bd3f6b16fd9a63.zip
core: Add public function gpgrt_usage.
* src/visibility.c (gpgrt_usage): New. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/gpgrt-int.h')
-rw-r--r--src/gpgrt-int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgrt-int.h b/src/gpgrt-int.h
index 794874e..5d54a51 100644
--- a/src/gpgrt-int.h
+++ b/src/gpgrt-int.h
@@ -715,6 +715,7 @@ void _gpgrt_release_process (pid_t pid);
* Local prototypes for argparse.
*/
int _gpgrt_argparse (estream_t fp, gpgrt_argparse_t *arg, gpgrt_opt_t *opts);
+void _gpgrt_usage (int level);
const char *_gpgrt_strusage (int level);
void _gpgrt_set_strusage (const char *(*f)(int));
void _gpgrt_set_usage_outfnc (int (*fnc)(int, const char *));