summaryrefslogtreecommitdiff
path: root/monitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.h')
-rw-r--r--monitor.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/monitor.h b/monitor.h
index 16047299f..a4b68fbe2 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.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
68struct ssh;
69
68struct monitor { 70struct 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);
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 *);