X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/5ff99b8e113a7a6b8388f8857c44decda0aaa0c8..ac3337f659b9648b4ffb88b3da3b68ad8fda3717:/windows/winstuff.h diff --git a/windows/winstuff.h b/windows/winstuff.h index 6d5175d5..feaf9e9d 100644 --- a/windows/winstuff.h +++ b/windows/winstuff.h @@ -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. * @@ -509,6 +509,14 @@ void agent_schedule_callback(void (*callback)(void *, void *, int), #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. */ extern Backend serial_backend;