diff options
Diffstat (limited to 'monitor.h')
-rw-r--r-- | monitor.h | 12 |
1 files changed, 7 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.22 2019/01/19 21:43:07 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,11 +80,11 @@ 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 *); |