summaryrefslogtreecommitdiff
path: root/monitor.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2019-06-05 06:41:44 +0100
committerColin Watson <cjwatson@debian.org>2019-06-05 06:41:44 +0100
commit102062f825fb26a74295a1c089c00c4c4c76b68a (patch)
tree3db66bc8c8483cce66516dff36f6ef56065143d9 /monitor.h
parent3d246f10429fc9a37b98eabef94fe8dc7c61002b (diff)
parentfd0fa130ecf06d7d092932adcd5d77f1549bfc8d (diff)
Import openssh_8.0p1.orig.tar.gz
Diffstat (limited to 'monitor.h')
-rw-r--r--monitor.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/monitor.h b/monitor.h
index 16047299f..683e5e071 100644
--- a/monitor.h
+++ b/monitor.h
@@ -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
68struct ssh;
69
68struct monitor { 70struct 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);
78void monitor_reinit(struct monitor *); 80void monitor_reinit(struct monitor *);
79 81
80struct Authctxt; 82struct Authctxt;
81void monitor_child_preauth(struct Authctxt *, struct monitor *); 83void monitor_child_preauth(struct ssh *, struct monitor *);
82void monitor_child_postauth(struct monitor *); 84void monitor_child_postauth(struct ssh *, struct monitor *);
83 85
84struct mon_table; 86void monitor_clear_keystate(struct ssh *, struct monitor *);
85int monitor_read(struct monitor*, struct mon_table *, struct mon_table **); 87void monitor_apply_keystate(struct ssh *, struct monitor *);
86 88
87/* Prototypes for request sending and receiving */ 89/* Prototypes for request sending and receiving */
88void mm_request_send(int, enum monitor_reqtype, struct sshbuf *); 90void mm_request_send(int, enum monitor_reqtype, struct sshbuf *);
89void mm_request_receive(int, struct sshbuf *); 91void mm_request_receive(int, struct sshbuf *);
90void mm_request_receive_expect(int, enum monitor_reqtype, struct sshbuf *); 92void mm_request_receive_expect(int, enum monitor_reqtype, struct sshbuf *);
93void mm_get_keystate(struct ssh *, struct monitor *);
91 94
92#endif /* _MONITOR_H_ */ 95#endif /* _MONITOR_H_ */