summaryrefslogtreecommitdiff
path: root/monitor_wrap.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-04-03 08:20:28 +0100
committerColin Watson <cjwatson@debian.org>2018-04-03 08:57:25 +0100
commita0b2dce9bf518f561bbb5070c0fb0c38f49035dd (patch)
tree24298b823e93d4e6efe13f48f1512707ebd625f8 /monitor_wrap.h
parent9d4942dc192b6f1888c9ab73a512dd9b197b956c (diff)
parent76aa43d2298f322f0371b74462418d0461537131 (diff)
New upstream release (7.7p1)
Diffstat (limited to 'monitor_wrap.h')
-rw-r--r--monitor_wrap.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/monitor_wrap.h b/monitor_wrap.h
index a9ccb243e..492de5c85 100644
--- a/monitor_wrap.h
+++ b/monitor_wrap.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor_wrap.h,v 1.35 2017/05/31 08:09:45 markus 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);
@@ -45,14 +47,15 @@ void mm_inform_authserv(char *, char *, char *);
45void mm_inform_authrole(char *); 47void mm_inform_authrole(char *);
46struct passwd *mm_getpwnamallow(const char *); 48struct passwd *mm_getpwnamallow(const char *);
47char *mm_auth2_read_banner(void); 49char *mm_auth2_read_banner(void);
48int mm_auth_password(struct Authctxt *, char *); 50int mm_auth_password(struct ssh *, char *);
49int mm_key_allowed(enum mm_keytype, const char *, const char *, struct sshkey *, 51int mm_key_allowed(enum mm_keytype, const char *, const char *, struct sshkey *,
50 int); 52 int, struct sshauthopt **);
51int mm_user_key_allowed(struct passwd *, struct sshkey *, int); 53int mm_user_key_allowed(struct ssh *, struct passwd *, struct sshkey *, int,
54 struct sshauthopt **);
52int mm_hostbased_key_allowed(struct passwd *, const char *, 55int mm_hostbased_key_allowed(struct passwd *, const char *,
53 const char *, struct sshkey *); 56 const char *, struct sshkey *);
54int mm_sshkey_verify(const struct sshkey *, const u_char *, size_t, 57int mm_sshkey_verify(const struct sshkey *, const u_char *, size_t,
55 const u_char *, size_t, u_int); 58 const u_char *, size_t, const char *, u_int);
56 59
57#ifdef GSSAPI 60#ifdef GSSAPI
58OM_uint32 mm_ssh_gssapi_server_ctx(Gssctxt **, gss_OID); 61OM_uint32 mm_ssh_gssapi_server_ctx(Gssctxt **, gss_OID);