X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/4a693cfc5c3ee0e639bbee0215345e921715ab04..e41356ff1a423bcc7bbe3fbbc36407aa067c76e0:/unix/unix.h diff --git a/unix/unix.h b/unix/unix.h index faf56008..37649d5b 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -13,13 +13,14 @@ #include "charset.h" struct Filename { - char path[FILENAME_MAX]; + char *path; }; -FILE *f_open(struct Filename, char const *, int); +FILE *f_open(const struct Filename *, char const *, int); struct FontSpec { - char name[256]; + char *name; /* may be "" to indicate no selected font at all */ }; +struct FontSpec *fontspec_new(const char *name); typedef void *Context; /* FIXME: probably needs changing */