projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First phase of porting. pterm now compiles and runs under Linux+gtk.
[u/mdw/putty]
/
unix
/
unix.h
diff --git
a/unix/unix.h
b/unix/unix.h
index
6a40e4a
..
a7f3fa5
100644
(file)
--- a/
unix/unix.h
+++ b/
unix/unix.h
@@
-3,6
+3,8
@@
typedef void *Context; /* FIXME: probably needs changing */
typedef void *Context; /* FIXME: probably needs changing */
+extern Backend pty_backend;
+
/* Simple wraparound timer function */
unsigned long getticks(void); /* based on gettimeofday(2) */
#define GETTICKCOUNT getticks
/* Simple wraparound timer function */
unsigned long getticks(void); /* based on gettimeofday(2) */
#define GETTICKCOUNT getticks
@@
-12,6
+14,10
@@
unsigned long getticks(void); /* based on gettimeofday(2) */
#define WCHAR wchar_t
#define BYTE unsigned char
#define WCHAR wchar_t
#define BYTE unsigned char
+int is_dbcs_leadbyte(int codepage, char byte);
+int mb_to_wc(int codepage, int flags, char *mbstr, int mblen,
+ wchar_t *wcstr, int wclen);
+void init_ucs(void);
#define DEFAULT_CODEPAGE 0 /* FIXME: no idea how to do this */
#define DEFAULT_CODEPAGE 0 /* FIXME: no idea how to do this */