X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=testback.c;h=bf3047efd8bb51248e2f541d00de58994a3cba3b;hb=56a42d09d43e91603f3fbf01f5781bcbbc54a6bd;hp=0175e8e7b383baef173050b391b170ffed5dccfb;hpb=822628246ebf0036c83f0f6eba4233e518433249;p=PuTTY.git diff --git a/testback.c b/testback.c index 0175e8e7..bf3047ef 100644 --- a/testback.c +++ b/testback.c @@ -1,4 +1,3 @@ -/* $Id$ */ /* * Copyright (c) 1999 Simon Tatham * Copyright (c) 1999 Ben Harris @@ -33,13 +32,13 @@ #include "putty.h" -static const char *null_init(void *, void **, Config *, char *, int, char **, +static const char *null_init(void *, void **, Conf *, char *, int, char **, int, int); -static const char *loop_init(void *, void **, Config *, char *, int, char **, +static const char *loop_init(void *, void **, Conf *, char *, int, char **, int, int); static void null_free(void *); static void loop_free(void *); -static void null_reconfig(void *, Config *); +static void null_reconfig(void *, Conf *); static int null_send(void *, char *, int); static int loop_send(void *, char *, int); static int null_sendbuffer(void *); @@ -74,14 +73,14 @@ struct loop_state { }; static const char *null_init(void *frontend_handle, void **backend_handle, - Config *cfg, char *host, int port, + Conf *conf, char *host, int port, char **realhost, int nodelay, int keepalive) { return NULL; } static const char *loop_init(void *frontend_handle, void **backend_handle, - Config *cfg, char *host, int port, + Conf *conf, char *host, int port, char **realhost, int nodelay, int keepalive) { struct loop_state *st = snew(struct loop_state); @@ -101,7 +100,7 @@ static void loop_free(void *handle) sfree(handle); } -static void null_reconfig(void *handle, Config *cfg) { +static void null_reconfig(void *handle, Conf *conf) { }