X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=winstuff.h;h=1cbe5b782ffc3fb2804241c766c782ad26e40e41;hb=f26b7aa0d3300621b71a473ffb871f465479db67;hp=1aa68bb7665afcb39120bc2a7d32ae750be2572c;hpb=ccf35b8a268a3415abd4e796559edd65764f832a;p=PuTTY.git 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