aboutsummaryrefslogtreecommitdiffstats
path: root/include/ttyio.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-09-28 13:42:18 +0000
committerWerner Koch <[email protected]>2003-09-28 13:42:18 +0000
commitedb5762c5fcd8f5a6cf39bf01e0a8471e4117c2f (patch)
tree8f36683f5fb7c44494e6ed8168672c7396a4bb2c /include/ttyio.h
parent* g10.c (main): New commands --card-edit, --card-status and (diff)
downloadgnupg-edb5762c5fcd8f5a6cf39bf01e0a8471e4117c2f.tar.gz
gnupg-edb5762c5fcd8f5a6cf39bf01e0a8471e4117c2f.zip
* util.h: Add the atoi_* and xtoi_* suite of macros from 1.9.
* dynload.h: New. Taken from 1.9.
Diffstat (limited to 'include/ttyio.h')
-rw-r--r--include/ttyio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ttyio.h b/include/ttyio.h
index 5f6557930..8e8722d7c 100644
--- a/include/ttyio.h
+++ b/include/ttyio.h
@@ -24,8 +24,11 @@ const char *tty_get_ttyname (void);
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, ... )
+ __attribute__ ((format (printf,2,3)));
#else
void tty_printf (const char *fmt, ... );
+ void tty_fprintf (FILE *fp, const char *fmt, ... );
#endif
void tty_print_string( byte *p, size_t n );
void tty_print_utf8_string( byte *p, size_t n );