summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/serverloop.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2000-09-21 11:25:32 +0000
committermarkus <markus@openbsd.org>2000-09-21 11:25:32 +0000
commit94df6a2f3c318515523e44ebcdcaad11e0e14c0a (patch)
tree3e76da1b421d3d86a9604fa12a4d88059955e0bb /usr.bin/ssh/serverloop.c
parentchange login logic in ssh2, allows plugin of other auth methods (diff)
downloadwireguard-openbsd-94df6a2f3c318515523e44ebcdcaad11e0e14c0a.tar.xz
wireguard-openbsd-94df6a2f3c318515523e44ebcdcaad11e0e14c0a.zip
add context to dispatch_run
Diffstat (limited to 'usr.bin/ssh/serverloop.c')
-rw-r--r--usr.bin/ssh/serverloop.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ssh/serverloop.c b/usr.bin/ssh/serverloop.c
index 9acbe19bc5a..97e01754256 100644
--- a/usr.bin/ssh/serverloop.c
+++ b/usr.bin/ssh/serverloop.c
@@ -380,7 +380,7 @@ drain_output()
void
process_buffered_input_packets()
{
- dispatch_run(DISPATCH_NONBLOCK, NULL);
+ dispatch_run(DISPATCH_NONBLOCK, NULL, NULL);
}
/*
@@ -673,7 +673,7 @@ server_loop2(void)
}
void
-server_input_stdin_data(int type, int plen)
+server_input_stdin_data(int type, int plen, void *ctxt)
{
char *data;
unsigned int data_len;
@@ -690,7 +690,7 @@ server_input_stdin_data(int type, int plen)
}
void
-server_input_eof(int type, int plen)
+server_input_eof(int type, int plen, void *ctxt)
{
/*
* Eof from the client. The stdin descriptor to the
@@ -703,7 +703,7 @@ server_input_eof(int type, int plen)
}
void
-server_input_window_size(int type, int plen)
+server_input_window_size(int type, int plen, void *ctxt)
{
int row = packet_get_int();
int col = packet_get_int();
@@ -749,7 +749,7 @@ input_direct_tcpip(void)
}
void
-server_input_channel_open(int type, int plen)
+server_input_channel_open(int type, int plen, void *ctxt)
{
Channel *c = NULL;
char *ctype;