mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-16 02:27:32 -05:00
Asynchronous agent requests on Windows. Actually, I've kept the
ability to do synchronous ones as well, because PSCP and PSFTP don't really need async ones and it would have been a serious pain to implement them. Also, Pageant itself when run as a client of its primary instance doesn't benefit noticeably from async agent requests. [originally from svn r3154]
This commit is contained in:
12
pageant.c
12
pageant.c
@ -1792,8 +1792,20 @@ void spawn_cmd(char *cmdline, char * args, int show)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This is a can't-happen stub, since Pageant never makes
|
||||
* asynchronous agent requests.
|
||||
*/
|
||||
void agent_schedule_callback(void (*callback)(void *, void *, int),
|
||||
void *callback_ctx, void *data, int len)
|
||||
{
|
||||
assert(!"We shouldn't get here");
|
||||
}
|
||||
|
||||
void cleanup_exit(int code) { exit(code); }
|
||||
|
||||
int flags = FLAG_SYNCAGENT;
|
||||
|
||||
int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
|
||||
{
|
||||
WNDCLASS wndclass;
|
||||
|
Reference in New Issue
Block a user