X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/8772ac697da9af645ce4ce9d73b6406f7d126f49..7dcd1f879d7a6d11cc7c4f67ee75a745578a46ad:/winstuff.h diff --git a/winstuff.h b/winstuff.h index 9516675a..1cbe5b78 100644 --- a/winstuff.h +++ b/winstuff.h @@ -5,6 +5,20 @@ #ifndef PUTTY_WINSTUFF_H #define PUTTY_WINSTUFF_H +#include /* for FILENAME_MAX */ + +struct Filename { + char path[FILENAME_MAX]; +}; +#define f_open(filename, mode) ( fopen((filename).path, (mode)) ) + +struct FontSpec { + char name[64]; + int isbold; + int height; + int charset; +}; + /* * Global variables. Most modules declare these `extern', but * window.c will do `#define PUTTY_DO_GLOBALS' before including this @@ -201,6 +215,7 @@ void EnableSizeTip(int bEnable); /* * Exports from unicode.c. */ -void init_ucs(Config *); +struct unicode_data; +void init_ucs(Config *, struct unicode_data *); #endif