X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=windows%2Fwinstuff.h;h=6308ea683cc93d80b2d82828dee289e851fe3b43;hb=5d0d5e0466d19627405dc8ea5f0513afcd2edb27;hp=4ece0630e33a3de834bc3f3d43dce6407f138aeb;hpb=6c3f4b3baa3d795c615ad212d700ba213010211e;p=PuTTY.git diff --git a/windows/winstuff.h b/windows/winstuff.h index 4ece0630..6308ea68 100644 --- a/windows/winstuff.h +++ b/windows/winstuff.h @@ -18,7 +18,7 @@ struct Filename { char path[FILENAME_MAX]; }; -#define f_open(filename, mode) ( fopen((filename).path, (mode)) ) +#define f_open(filename, mode, isprivate) ( fopen((filename).path, (mode)) ) struct FontSpec { char name[64]; @@ -108,6 +108,19 @@ typedef struct terminal_tag Terminal; typedef HDC Context; +#ifndef NO_GSSAPI +/* + * GSS-API stuff + */ +typedef struct Ssh_gss_buf { + int length; + char *value; +} Ssh_gss_buf; + +#define SSH_GSS_EMPTY_BUF (Ssh_gss_buf) {0,NULL} +typedef void *Ssh_gss_name; +#endif + /* * Window handles for the windows that can be running during a * PuTTY session.