mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common: Add generic status print function.
* common/status.c (gnupg_set_status_fd): New. (gnupg_status_printf): New. * po/Makevars (XGETTEXT_OPTIONS): Add gnupg-status_printf. -- Some of the extra tools take a --status-fd option to print certain status messages. A generic printf style print function thus makes sense. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
fa9d703de5
commit
03cf23b43e
3 changed files with 63 additions and 0 deletions
|
@ -163,6 +163,10 @@ enum
|
|||
|
||||
|
||||
const char *get_status_string (int code);
|
||||
void gnupg_set_status_fd (int fd);
|
||||
void gnupg_status_printf (int no, const char *format,
|
||||
...) GPGRT_ATTR_PRINTF(2,3);
|
||||
|
||||
const char *get_inv_recpsgnr_code (gpg_error_t err);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue