First half of `pageant-async' work. agent_query() is now passed a
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 28 Apr 2003 11:41:39 +0000 (11:41 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 28 Apr 2003 11:41:39 +0000 (11:41 +0000)
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@3153 cda61777-01e9-0310-a592-d414129be87e


No differences found