]> asedeno.scripts.mit.edu Git - PuTTY.git/blob - aqsync.c
first pass
[PuTTY.git] / aqsync.c
1 /*
2  * aqsync.c: the agent_query_synchronous() wrapper function.
3  *
4  * This is a very small thing to have to put in its own module, but it
5  * wants to be shared between back ends, and exist in any SSH client
6  * program and also Pageant, and _nowhere else_ (because it pulls in
7  * the main agent_query).
8  */
9
10 #include <assert.h>
11
12 #include "putty.h"
13
14 void agent_query_synchronous(void *in, int inlen, void **out, int *outlen)
15 {
16     agent_pending_query *pending;
17
18     pending = agent_query(in, inlen, out, outlen, NULL, 0);
19     assert(!pending);
20 }
21