X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/07b2a9cdcc1dda55516a50708556f1f65c6e9418..336ec53c839ca001a3aa5af4c0fdd1f4462d2bcd:/winstuff.h?ds=sidebyside diff --git a/winstuff.h b/winstuff.h index 1aa68bb7..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