X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=windows%2Fwinstuff.h;h=2b70ddc1b9ad95f75720a4d64699c74ce3996da7;hb=f14953d9e94c176cfc928bb719d6f613da96717e;hp=6d5175d5c6002a8f8e148fecc0744a537bcdb28f;hpb=00b32eda3cc76187e18ef1332e6f7b56fe460f9e;p=PuTTY.git diff --git a/windows/winstuff.h b/windows/winstuff.h index 6d5175d5..2b70ddc1 100644 --- a/windows/winstuff.h +++ b/windows/winstuff.h @@ -115,7 +115,7 @@ struct FontSpec { #ifndef DONE_TYPEDEFS #define DONE_TYPEDEFS -typedef struct config_tag Config; +typedef struct conf_tag Conf; typedef struct backend_tag Backend; typedef struct terminal_tag Terminal; #endif @@ -473,7 +473,7 @@ void EnableSizeTip(int bEnable); * Exports from unicode.c. */ struct unicode_data; -void init_ucs(Config *, struct unicode_data *); +void init_ucs(Conf *, struct unicode_data *); /* * Exports from winhandl.c. @@ -497,7 +497,7 @@ int handle_backlog(struct handle *h); void *handle_get_privdata(struct handle *h); /* - * pageantc.c needs to schedule callbacks for asynchronous agent + * winpgntc.c needs to schedule callbacks for asynchronous agent * requests. This has to be done differently in GUI and console, so * there's an exported function used for the purpose. * @@ -508,6 +508,14 @@ void agent_schedule_callback(void (*callback)(void *, void *, int), void *callback_ctx, void *data, int len); #define FLAG_SYNCAGENT 0x1000 +/* + * winpgntc.c also exports these two functions which are used by the + * server side of Pageant as well, to get the user SID for comparing + * with clients'. + */ +int init_advapi(void); /* initialises everything needed by get_user_sid */ +PSID get_user_sid(void); + /* * Exports from winser.c. */