diff options
author | Colin Watson <cjwatson@debian.org> | 2019-06-05 06:41:44 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-06-05 06:41:44 +0100 |
commit | 102062f825fb26a74295a1c089c00c4c4c76b68a (patch) | |
tree | 3db66bc8c8483cce66516dff36f6ef56065143d9 /monitor.h | |
parent | 3d246f10429fc9a37b98eabef94fe8dc7c61002b (diff) | |
parent | fd0fa130ecf06d7d092932adcd5d77f1549bfc8d (diff) |
Import openssh_8.0p1.orig.tar.gz
Diffstat (limited to 'monitor.h')
-rw-r--r-- | monitor.h | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: monitor.h,v 1.21 2018/07/09 21:53:45 markus Exp $ */ | 1 | /* $OpenBSD: monitor.h,v 1.23 2019/01/19 21:43:56 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> | 4 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> |
@@ -65,6 +65,8 @@ enum monitor_reqtype { | |||
65 | 65 | ||
66 | }; | 66 | }; |
67 | 67 | ||
68 | struct ssh; | ||
69 | |||
68 | struct monitor { | 70 | struct monitor { |
69 | int m_recvfd; | 71 | int m_recvfd; |
70 | int m_sendfd; | 72 | int m_sendfd; |
@@ -78,15 +80,16 @@ struct monitor *monitor_init(void); | |||
78 | void monitor_reinit(struct monitor *); | 80 | void monitor_reinit(struct monitor *); |
79 | 81 | ||
80 | struct Authctxt; | 82 | struct Authctxt; |
81 | void monitor_child_preauth(struct Authctxt *, struct monitor *); | 83 | void monitor_child_preauth(struct ssh *, struct monitor *); |
82 | void monitor_child_postauth(struct monitor *); | 84 | void monitor_child_postauth(struct ssh *, struct monitor *); |
83 | 85 | ||
84 | struct mon_table; | 86 | void monitor_clear_keystate(struct ssh *, struct monitor *); |
85 | int monitor_read(struct monitor*, struct mon_table *, struct mon_table **); | 87 | void monitor_apply_keystate(struct ssh *, struct monitor *); |
86 | 88 | ||
87 | /* Prototypes for request sending and receiving */ | 89 | /* Prototypes for request sending and receiving */ |
88 | void mm_request_send(int, enum monitor_reqtype, struct sshbuf *); | 90 | void mm_request_send(int, enum monitor_reqtype, struct sshbuf *); |
89 | void mm_request_receive(int, struct sshbuf *); | 91 | void mm_request_receive(int, struct sshbuf *); |
90 | void mm_request_receive_expect(int, enum monitor_reqtype, struct sshbuf *); | 92 | void mm_request_receive_expect(int, enum monitor_reqtype, struct sshbuf *); |
93 | void mm_get_keystate(struct ssh *, struct monitor *); | ||
91 | 94 | ||
92 | #endif /* _MONITOR_H_ */ | 95 | #endif /* _MONITOR_H_ */ |