]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - misc.h
Slight improvement to cursor blink timing: since the cursor doesn't
[PuTTY.git] / misc.h
diff --git a/misc.h b/misc.h
index aa723629406113bb1cc1bcf4195df5c1c0ebf66e..cd144b53586b810ab619f79a1e9fb1c82cbf9e77 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
@@ -20,6 +21,8 @@ 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;
@@ -50,9 +53,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