Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2020-01-30 09:40:21 +0300
committerSimon Tatham <anakin@pobox.com>2020-01-30 09:40:21 +0300
commit9da36bd897533db6811fefb7954ff81ab2dfbb63 (patch)
tree50a50c63c93958299ce27085857ff25c1ff5eb38 /psftp.c
parent4ea811a0bf03432df67d98cd67d47921f4e532a1 (diff)
Remove agent_schedule_callback().
This is another piece of the old 2003 attempt at async agent requests. Nothing ever calls this function (in particular, the new working version of async-agent doesn't need it). Remove it completely, and all its special-window-message implementations too. (If we _were_ still using this function, then it would surely be possible to fold it into the more recently introduced general toplevel-callback system, and get rid of all this single-use special code. But we're not, so removing it completely is even easier.) In particular, this system was the only reason why Windows Plink paid any attention to its message queue. So now I can make it call plain WaitForMultipleObjects instead of MsgWaitForMultipleObjects.
Diffstat (limited to 'psftp.c')
-rw-r--r--psftp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/psftp.c b/psftp.c
index ac074fdc..3b4b6eb3 100644
--- a/psftp.c
+++ b/psftp.c
@@ -2430,12 +2430,6 @@ static bool verbose = false;
void ldisc_echoedit_update(Ldisc *ldisc) { }
-void agent_schedule_callback(void (*callback)(void *, void *, int),
- void *callback_ctx, void *data, int len)
-{
- unreachable("all PSFTP agent requests should be synchronous");
-}
-
/*
* Receive a block of data from the SSH link. Block until all data
* is available.