1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

common: Add function print_assuan_status.

* common/asshelp2.c: New.
(print_assuan_status): New function.
* common/Makefile.am (common_sources): Add asshelp2.c.
This commit is contained in:
Werner Koch 2012-02-06 20:52:27 +01:00
parent eb0faef81d
commit 1a0df85060
3 changed files with 61 additions and 1 deletions

View file

@ -25,6 +25,8 @@
#include "session-env.h"
/*-- asshelp.c --*/
void setup_libassuan_logging (unsigned int *debug_var_address);
void set_libassuan_log_cats (unsigned int newcats);
@ -62,5 +64,14 @@ start_new_dirmngr (assuan_context_t *r_ctx,
ctrl_t status_cb_arg);
/*-- asshelp2.c --*/
/* Helper function to print an assuan status line using a printf
format string. */
gpg_error_t print_assuan_status (assuan_context_t ctx,
const char *keyword,
const char *format,
...) JNLIB_GCC_A_PRINTF(3,4);
#endif /*GNUPG_COMMON_ASSHELP_H*/