aboutsummaryrefslogtreecommitdiffstats
path: root/common/ttyio.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-03-15 11:15:45 +0000
committerWerner Koch <[email protected]>2010-03-15 11:15:45 +0000
commitfb2ba98963beea249474f5d6d7345cf9b4b7f570 (patch)
tree3c9b25d63f90a71caec5685fca945341d54bef9d /common/ttyio.h
parentUse a custom log handler for libassuan. (diff)
downloadgnupg-fb2ba98963beea249474f5d6d7345cf9b4b7f570.tar.gz
gnupg-fb2ba98963beea249474f5d6d7345cf9b4b7f570.zip
Finished the bulk of changes to use estream in most places instead of
stdio.
Diffstat (limited to 'common/ttyio.h')
-rw-r--r--common/ttyio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/ttyio.h b/common/ttyio.h
index eb2116a02..e1dc0f053 100644
--- a/common/ttyio.h
+++ b/common/ttyio.h
@@ -28,13 +28,13 @@ int tty_batchmode (int onoff);
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
void tty_printf (const char *fmt, ... )
__attribute__ ((format (printf,1,2)));
-void tty_fprintf (FILE *fp, const char *fmt, ... )
+void tty_fprintf (estream_t 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, ... );
+void tty_fprintf (estream_t fp, const char *fmt, ... );
char *tty_getf (const char *promptfmt, ... );
#endif
void tty_print_string (const unsigned char *p, size_t n);