summaryrefslogtreecommitdiff
path: root/monitor_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'monitor_wrap.h')
-rw-r--r--monitor_wrap.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/monitor_wrap.h b/monitor_wrap.h
index f5af1e819..762332704 100644
--- a/monitor_wrap.h
+++ b/monitor_wrap.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor_wrap.h,v 1.36 2017/12/18 02:25:15 djm Exp $ */ 1/* $OpenBSD: monitor_wrap.h,v 1.37 2018/03/03 03:15:51 djm Exp $ */
2 2
3/* 3/*
4 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 4 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
@@ -35,6 +35,8 @@ enum mm_keytype { MM_NOKEY, MM_HOSTKEY, MM_USERKEY };
35 35
36struct monitor; 36struct monitor;
37struct Authctxt; 37struct Authctxt;
38struct sshkey;
39struct sshauthopt;
38 40
39void mm_log_handler(LogLevel, const char *, void *); 41void mm_log_handler(LogLevel, const char *, void *);
40int mm_is_monitor(void); 42int mm_is_monitor(void);
@@ -44,10 +46,11 @@ int mm_key_sign(struct sshkey *, u_char **, u_int *, const u_char *, u_int,
44void mm_inform_authserv(char *, char *); 46void mm_inform_authserv(char *, char *);
45struct passwd *mm_getpwnamallow(const char *); 47struct passwd *mm_getpwnamallow(const char *);
46char *mm_auth2_read_banner(void); 48char *mm_auth2_read_banner(void);
47int mm_auth_password(struct Authctxt *, char *); 49int mm_auth_password(struct ssh *, char *);
48int mm_key_allowed(enum mm_keytype, const char *, const char *, struct sshkey *, 50int mm_key_allowed(enum mm_keytype, const char *, const char *, struct sshkey *,
49 int); 51 int, struct sshauthopt **);
50int mm_user_key_allowed(struct passwd *, struct sshkey *, int); 52int mm_user_key_allowed(struct ssh *, struct passwd *, struct sshkey *, int,
53 struct sshauthopt **);
51int mm_hostbased_key_allowed(struct passwd *, const char *, 54int mm_hostbased_key_allowed(struct passwd *, const char *,
52 const char *, struct sshkey *); 55 const char *, struct sshkey *);
53int mm_sshkey_verify(const struct sshkey *, const u_char *, size_t, 56int mm_sshkey_verify(const struct sshkey *, const u_char *, size_t,