projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When we receive CHANNEL_CLOSE on an SSH-2 channel and haven't sent EOF
[u/mdw/putty]
/
testback.c
diff --git
a/testback.c
b/testback.c
index
0175e8e
..
be1faf4
100644
(file)
--- a/
testback.c
+++ b/
testback.c
@@
-33,13
+33,13
@@
#include "putty.h"
#include "putty.h"
-static const char *null_init(void *, void **, Conf
ig
*, char *, int, char **,
+static const char *null_init(void *, void **, Conf *, char *, int, char **,
int, int);
int, int);
-static const char *loop_init(void *, void **, Conf
ig
*, 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 *);
int, int);
static void null_free(void *);
static void loop_free(void *);
-static void null_reconfig(void *, Conf
ig
*);
+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 *);
static int null_send(void *, char *, int);
static int loop_send(void *, char *, int);
static int null_sendbuffer(void *);
@@
-74,14
+74,14
@@
struct loop_state {
};
static const char *null_init(void *frontend_handle, void **backend_handle,
};
static const char *null_init(void *frontend_handle, void **backend_handle,
- Conf
ig *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,
char **realhost, int nodelay, int keepalive) {
return NULL;
}
static const char *loop_init(void *frontend_handle, void **backend_handle,
- Conf
ig *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);
char **realhost, int nodelay, int keepalive) {
struct loop_state *st = snew(struct loop_state);
@@
-101,7
+101,7
@@
static void loop_free(void *handle)
sfree(handle);
}
sfree(handle);
}
-static void null_reconfig(void *handle, Conf
ig *cfg
) {
+static void null_reconfig(void *handle, Conf
*conf
) {
}
}