summaryrefslogtreecommitdiff
path: root/monitor_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'monitor_wrap.h')
-rw-r--r--monitor_wrap.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/monitor_wrap.h b/monitor_wrap.h
index 5e0334588..d960a3d0b 100644
--- a/monitor_wrap.h
+++ b/monitor_wrap.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor_wrap.h,v 1.11 2003/08/28 12:54:34 markus Exp $ */ 1/* $OpenBSD: monitor_wrap.h,v 1.8 2002/09/26 11:38:43 markus Exp $ */
2 2
3/* 3/*
4 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 4 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
@@ -55,21 +55,8 @@ int mm_auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **);
55int mm_auth_rsa_verify_response(Key *, BIGNUM *, u_char *); 55int mm_auth_rsa_verify_response(Key *, BIGNUM *, u_char *);
56BIGNUM *mm_auth_rsa_generate_challenge(Key *); 56BIGNUM *mm_auth_rsa_generate_challenge(Key *);
57 57
58#ifdef GSSAPI
59#include "ssh-gss.h"
60OM_uint32 mm_ssh_gssapi_server_ctx(Gssctxt **ctxt, gss_OID oid);
61OM_uint32 mm_ssh_gssapi_accept_ctx(Gssctxt *ctxt,
62 gss_buffer_desc *recv, gss_buffer_desc *send, OM_uint32 *flags);
63int mm_ssh_gssapi_userok(char *user);
64#endif
65
66#ifdef USE_PAM 58#ifdef USE_PAM
67void mm_start_pam(char *); 59void mm_start_pam(char *);
68u_int mm_do_pam_account(void);
69void *mm_sshpam_init_ctx(struct Authctxt *);
70int mm_sshpam_query(void *, char **, char **, u_int *, char ***, u_int **);
71int mm_sshpam_respond(void *, u_int, char **);
72void mm_sshpam_free_ctx(void *);
73#endif 60#endif
74 61
75void mm_terminate(void); 62void mm_terminate(void);
@@ -96,6 +83,16 @@ int mm_bsdauth_respond(void *, u_int, char **);
96int mm_skey_query(void *, char **, char **, u_int *, char ***, u_int **); 83int mm_skey_query(void *, char **, char **, u_int *, char ***, u_int **);
97int mm_skey_respond(void *, u_int, char **); 84int mm_skey_respond(void *, u_int, char **);
98 85
86/* auth_krb */
87#ifdef KRB4
88int mm_auth_krb4(struct Authctxt *, void *, char **, void *);
89#endif
90#ifdef KRB5
91/* auth and reply are really krb5_data objects, but we don't want to
92 * include all of the krb5 headers here */
93int mm_auth_krb5(void *authctxt, void *auth, char **client, void *reply);
94#endif
95
99/* zlib allocation hooks */ 96/* zlib allocation hooks */
100 97
101void *mm_zalloc(struct mm_master *, u_int, u_int); 98void *mm_zalloc(struct mm_master *, u_int, u_int);