diff options
author | markus@openbsd.org <markus@openbsd.org> | 2017-05-30 14:23:52 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-05-31 10:50:05 +1000 |
commit | 2ae666a8fc20b3b871b2f1b90ad65cc027336ccd (patch) | |
tree | f13f1c949ae60c16160acebbfb680c3dc7b13fe5 /dispatch.h | |
parent | 94583beb24a6c5fd19cedb9104ab2d2d5cd052b6 (diff) |
upstream commit
protocol handlers all get struct ssh passed; ok djm@
Upstream-ID: 0ca9ea2a5d01a6d2ded94c5024456a930c5bfb5d
Diffstat (limited to 'dispatch.h')
-rw-r--r-- | dispatch.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dispatch.h b/dispatch.h index cd51dbc0b..7dfc74ee3 100644 --- a/dispatch.h +++ b/dispatch.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dispatch.h,v 1.12 2015/01/19 20:07:45 markus Exp $ */ | 1 | /* $OpenBSD: dispatch.h,v 1.13 2017/05/30 14:23:52 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -36,10 +36,10 @@ enum { | |||
36 | 36 | ||
37 | struct ssh; | 37 | struct ssh; |
38 | 38 | ||
39 | typedef int dispatch_fn(int, u_int32_t, void *); | 39 | typedef int dispatch_fn(int, u_int32_t, struct ssh *); |
40 | 40 | ||
41 | int dispatch_protocol_error(int, u_int32_t, void *); | 41 | int dispatch_protocol_error(int, u_int32_t, struct ssh *); |
42 | int dispatch_protocol_ignore(int, u_int32_t, void *); | 42 | int dispatch_protocol_ignore(int, u_int32_t, struct ssh *); |
43 | void ssh_dispatch_init(struct ssh *, dispatch_fn *); | 43 | void ssh_dispatch_init(struct ssh *, dispatch_fn *); |
44 | void ssh_dispatch_set(struct ssh *, int, dispatch_fn *); | 44 | void ssh_dispatch_set(struct ssh *, int, dispatch_fn *); |
45 | void ssh_dispatch_range(struct ssh *, u_int, u_int, dispatch_fn *); | 45 | void ssh_dispatch_range(struct ssh *, u_int, u_int, dispatch_fn *); |