From 0b66f30d66fadbfd1a949edbe765043b06c5931b Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 21 Jun 2007 18:44:48 +0000 Subject: Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under Windows. --- common/ttyio.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/ttyio.h') diff --git a/common/ttyio.h b/common/ttyio.h index d93906eab..eed6b0910 100644 --- a/common/ttyio.h +++ b/common/ttyio.h @@ -31,9 +31,12 @@ void tty_printf (const char *fmt, ... ) __attribute__ ((format (printf,1,2))); void tty_fprintf (FILE *fp, const char *fmt, ... ) __attribute__ ((format (printf,2,3))); +char *tty_getf (const char *promptfmt, ... ) + __attribute__ ((format (printf,1,2))); #else void tty_printf (const char *fmt, ... ); void tty_fprintf (FILE *fp, const char *fmt, ... ); +char *tty_getf (const char *promptfmt, ... ); #endif void tty_print_string (const unsigned char *p, size_t n); void tty_print_utf8_string (const unsigned char *p, size_t n); -- cgit v1.2.3