1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/stubs/no-agent.c

12 lines
400 B
C
Raw Permalink Normal View History

#include "putty.h"
bool agent_exists(void) { return false; }
Socket *agent_connect(Plug *plug) {
return new_error_socket_fmt(
plug, "no actual networking in this application");
}
void agent_cancel_query(agent_pending_query *pq) {}
agent_pending_query *agent_query(
strbuf *query, void **out, int *outlen,
void (*callback)(void *, void *, int), void *callback_ctx) {return NULL;}