]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
First half of `pageant-async' work. agent_query() is now passed a
authorSimon Tatham <anakin@pobox.com>
Mon, 28 Apr 2003 11:41:39 +0000 (11:41 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 28 Apr 2003 11:41:39 +0000 (11:41 +0000)
commitf6a208fbddaa2b8299441bf1d1a5571314c0f9c9
treed3274c19c7a9a5ee3d7d097e6bd25d9083ff7a23
parent2e2b6d89bd9df2cd80087f70b856e45b6d7ec868
First half of `pageant-async' work. agent_query() is now passed a
callback function; it may return 0 to indicate that it doesn't have
an answer _yet_, in which case it will call the callback later on
when it does, or it may return 1 to indicate that it's got an answer
right now. The Windows agent_query() implementation is functionally
unchanged and still synchronous, but the Unix one is async (since
that one was really easy to do via uxsel). ssh.c copes cheerfully
with either return value, so other ports are at liberty to be sync
or async as they choose.

[originally from svn r3153]
pageant.c
pageantc.c
putty.h
ssh.c
unix/uxagentc.c