From 6bdadae00512b4907826f6754cdb220d06e1ac6d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 1 Sep 2016 16:33:21 +0200 Subject: gpg: Add new function write_status_printf. * g10/cpr.c (write_status_printf): New. -- Signed-off-by: Werner Koch --- g10/main.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'g10/main.h') diff --git a/g10/main.h b/g10/main.h index 0956f6693..340f3b353 100644 --- a/g10/main.h +++ b/g10/main.h @@ -191,6 +191,8 @@ void write_status_error (const char *where, gpg_error_t err); void write_status_errcode (const char *where, int errcode); void write_status_failure (const char *where, gpg_error_t err); void write_status_text ( int no, const char *text ); +void write_status_printf (int no, const char *format, + ...) GPGRT_ATTR_PRINTF(2,3); void write_status_strings (int no, const char *text, ...) GPGRT_ATTR_SENTINEL(0); void write_status_buffer ( int no, -- cgit v1.2.3