/* Simple wraparound timer function */
unsigned long getticks(void); /* based on gettimeofday(2) */
#define GETTICKCOUNT getticks
-#define TICKSPERSEC 1000000 /* gettimeofday returns microseconds */
-#define CURSORBLINK 450000 /* no standard way to set this */
+#define TICKSPERSEC 1000 /* we choose to use milliseconds */
+#define CURSORBLINK 450 /* no standard way to set this */
#define WCHAR wchar_t
#define BYTE unsigned char
#define strnicmp strncasecmp
#define stricmp strcasecmp
-/* BSD-semantics version of signal() */
+/* BSD-semantics version of signal(), and another helpful function */
void (*putty_signal(int sig, void (*func)(int)))(int);
+void block_signal(int sig, int block_it);
/*
* Exports from unicode.c.
*/
struct unicode_data;
-int init_ucs(struct unicode_data *ucsdata,
- char *line_codepage, int font_charset, int vtmode);
+int init_ucs(struct unicode_data *ucsdata, char *line_codepage,
+ int utf8_override, int font_charset, int vtmode);
/*
* Spare function exported directly from uxnet.c.