From ed78ef7f06649f85f1c94c4fb2bd3f6b16fd9a63 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 21 Mar 2018 18:34:15 +0100 Subject: core: Add public function gpgrt_usage. * src/visibility.c (gpgrt_usage): New. Signed-off-by: Werner Koch --- src/gpgrt-int.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gpgrt-int.h') 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 *)); -- cgit v1.2.3