X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/2beb0fb004d36c0ce0a2db3f00ad145241391ae3..5a736db69fd46b5010ebc2c3d0d979425737695a:/mac/macstuff.h diff --git a/mac/macstuff.h b/mac/macstuff.h index 6dc3df2b..c0728859 100644 --- a/mac/macstuff.h +++ b/mac/macstuff.h @@ -4,6 +4,25 @@ typedef void *Context; /* FIXME */ +#include +#include + +#include + +struct Filename { + FSSpec fss; +}; + +extern FILE * f_open(struct Filename, char const *); + +/* Suspiciously similar to an ICFontRecord */ +struct FontSpec { + short size; + Style face; + char pad; + Str255 name; +}; + /* * On the Mac, Unicode text copied to the clipboard has U+2028 line separators. * Non-Unicode text will have these converted to CR along with the rest of the @@ -26,6 +45,13 @@ typedef void *Context; /* FIXME */ #define OPTIMISE_SCROLL +/* + * sk_getxdmdata() does not exist under the Mac (SGT: I have no + * idea whatsoever how to write it, and furthermore I'm unconvinced + * it's necessary), so it's a macro which always returns FALSE. + */ +#define sk_getxdmdata(socket, ip, port) (0) + /* To make it compile */ #include