blob: dae25c08198e610aa720fdf49aaaab4deb715bed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/* $Id: auth2-pam.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
/*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _AUTH2_PAM_H
#define _AUTH2_PAM_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
#include "includes.h"
#ifdef USE_PAM
typedef struct Convctxt Convctxt;
struct Convctxt {
int abandoned, finished, num_received, num_expected;
int *prompts;
struct pam_response *responses;
};
int kbdint_pam_abandon_chk(Authctxt *authctxt, Authmethod *method);
void kbdint_pam_abandon(Authctxt *authctxt, Authmethod *method);
void auth2_pam(Authctxt *authctxt);
#endif /* USE_PAM */
#ifdef __cplusplus
}
#endif
#endif /* _AUTH2_PAM_H */
|