X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=testback.c;h=ac0d20672cf670ea01422e32c2b50e91427e0109;hb=162d04d360d8d70269ad17a02d44a983cb8dbfef;hp=bc2eb31f498d2b8a26ae3b637f4b962788076770;hpb=20f433efac8908e7024b3ae78fd8f6d3313f4d09;p=PuTTY.git diff --git a/testback.c b/testback.c index bc2eb31f..ac0d2067 100644 --- a/testback.c +++ b/testback.c @@ -1,4 +1,4 @@ -/* $Id: testback.c,v 1.10 2004/06/20 17:07:32 jacob Exp $ */ +/* $Id$ */ /* * Copyright (c) 1999 Simon Tatham * Copyright (c) 1999 Ben Harris @@ -53,17 +53,20 @@ 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_ldisc, null_provide_ldisc, null_provide_logctx, null_unthrottle, 0 + 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_ldisc, null_provide_ldisc, null_provide_logctx, null_unthrottle, 0 + null_ldisc, null_provide_ldisc, null_provide_logctx, null_unthrottle, + null_cfg_info, 0 }; struct loop_state { @@ -163,6 +166,12 @@ static void null_provide_logctx(void *handle, void *logctx) { } +static int null_cfg_info(void *handle) +{ + return 0; +} + + /* * Emacs magic: * Local Variables: