common: Add generic status print function.
authorWerner Koch <wk@gnupg.org>
Tue, 22 Jan 2019 08:02:17 +0000 (09:02 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 22 Jan 2019 08:02:17 +0000 (09:02 +0100)
commit03cf23b43ec5fea8a355d3ba2200e86a8efc589b
treee3d75a006782a881ffc0e737718213f80d1b96c6
parentfa9d703de5c70ae925e8ca6604073506f24d641a
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>
common/status.c
common/status.h
po/Makevars