X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/bf02e82ebf5cdbe3eee6b64f6a12b2a55d26fc58..9a30e26b7801d63e4ccfe8d36169299c09b89dff:/unix/unix.h diff --git a/unix/unix.h b/unix/unix.h index abe8cfd3..e821cd49 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -1,8 +1,18 @@ #ifndef PUTTY_UNIX_H #define PUTTY_UNIX_H +#include /* for FILENAME_MAX */ #include "charset.h" +struct Filename { + char path[FILENAME_MAX]; +}; +#define f_open(filename, mode) ( fopen((filename).path, (mode)) ) + +struct FontSpec { + char name[256]; +}; + typedef void *Context; /* FIXME: probably needs changing */ extern Backend pty_backend;