X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/f89c329410c18fe1f09d843747fad77babb9f89c..e359e9c01acdf5aad21780e27e538cfd8d597aac:/testback.c diff --git a/testback.c b/testback.c index 4bfb52d8..159cdc54 100644 --- a/testback.c +++ b/testback.c @@ -46,24 +46,25 @@ static int null_sendbuffer(void *); static void null_size(void *, int, int); static void null_special(void *, Telnet_Special); static const struct telnet_special *null_get_specials(void *handle); -static Socket null_socket(void *); +static int null_connected(void *); static int null_exitcode(void *); static int null_sendok(void *); static int null_ldisc(void *, int); static void null_provide_ldisc(void *, void *); static void null_provide_logctx(void *, void *); static void null_unthrottle(void *, int); +static int null_cfg_info(void *); Backend null_backend = { null_init, null_free, null_reconfig, null_send, null_sendbuffer, null_size, - null_special, null_get_specials, null_socket, null_exitcode, null_sendok, + null_special, null_get_specials, null_connected, null_exitcode, null_sendok, null_ldisc, null_provide_ldisc, null_provide_logctx, null_unthrottle, null_cfg_info, 0 }; Backend loop_backend = { loop_init, loop_free, null_reconfig, loop_send, null_sendbuffer, null_size, - null_special, null_get_specials, null_socket, null_exitcode, null_sendok, + null_special, null_get_specials, null_connected, null_exitcode, null_sendok, null_ldisc, null_provide_ldisc, null_provide_logctx, null_unthrottle, null_cfg_info, 0 }; @@ -133,9 +134,9 @@ static const struct telnet_special *null_get_specials (void *handle) { return NULL; } -static Socket null_socket(void *handle) { +static int null_connected(void *handle) { - return NULL; + return 0; } static int null_exitcode(void *handle) {