Tartarus CVS: putty: simon

tartarus-commits@lists.tartarus.org tartarus-commits@lists.tartarus.org
Mon, 28 Apr 2003 12:41:41 +0100


CVS Root:       /home/cvs
Module:         putty
Changes by:     simon
Date:           Mon Apr 28 2003  12:41:41 BST

Log message:
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.

Modified files:
    .               : pageant.c pageantc.c putty.h ssh.c
    unix            : uxagentc.c

Links:
http://cvs.tartarus.org//putty/pageant.c.diff?r1=1.63&r2=1.64
http://cvs.tartarus.org//putty/pageantc.c.diff?r1=1.6&r2=1.7
http://cvs.tartarus.org//putty/putty.h.diff?r1=1.214&r2=1.215
http://cvs.tartarus.org//putty/ssh.c.diff?r1=1.290&r2=1.291
http://cvs.tartarus.org//putty/unix/uxagentc.c.diff?r1=1.3&r2=1.4