Basic configurability for client-initiated rekeys.
[u/mdw/putty] / misc.h
diff --git a/misc.h b/misc.h
index 456cda0..7739446 100644 (file)
--- a/misc.h
+++ b/misc.h
@@ -3,6 +3,7 @@
 
 #include "puttymem.h"
 
+#include <stdio.h>                    /* for FILE * */
 #include <stdarg.h>                   /* for va_list */
 
 #ifndef FALSE
 #define TRUE 1
 #endif
 
+typedef struct Filename Filename;
+typedef struct FontSpec FontSpec;
+
+unsigned long parse_blocksize(const char *bs);
+
 char *dupstr(const char *s);
 char *dupcat(const char *s1, ...);
 char *dupprintf(const char *fmt, ...);
 char *dupvprintf(const char *fmt, va_list ap);
 
+char *fgetline(FILE *fp);
+
 void base64_encode_atom(unsigned char *data, int n, char *out);
 
 struct bufchain_granule;
@@ -47,9 +55,9 @@ void bufchain_fetch(bufchain *ch, void *data, int len);
  */
 
 #ifdef DEBUG
-void dprintf(char *fmt, ...);
+void debug_printf(char *fmt, ...);
 void debug_memdump(void *buf, int len, int L);
-#define debug(x) (dprintf x)
+#define debug(x) (debug_printf x)
 #define dmemdump(buf,len) debug_memdump (buf, len, 0);
 #define dmemdumpl(buf,len) debug_memdump (buf, len, 1);
 #else