mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common: Change yet unused status_printf function.
* common/asshelp2.c (status_printf): Rename to status_no_printf. (status_printf): New. -- Using the the status identifier from status.h is a good idea for the external API but for some inter-component status line a keyword is a better way. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
a5118b19c1
commit
d8a84594ab
2 changed files with 23 additions and 2 deletions
|
@ -87,7 +87,9 @@ void set_assuan_context_func (assuan_context_t (*func)(ctrl_t ctrl));
|
|||
/* Helper function to print an assuan status line using a printf
|
||||
format string. */
|
||||
|
||||
gpg_error_t status_printf (ctrl_t ctrl, int no, const char *format,
|
||||
gpg_error_t status_printf (ctrl_t ctrl, const char *keyword, const char *format,
|
||||
...) GPGRT_ATTR_PRINTF(3,4);
|
||||
gpg_error_t status_no_printf (ctrl_t ctrl, int no, const char *format,
|
||||
...) GPGRT_ATTR_PRINTF(3,4);
|
||||
|
||||
gpg_error_t print_assuan_status (assuan_context_t ctx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue