version 1.51.4.1, 2006/09/30 04:06:50 |
version 1.52, 2006/03/25 22:22:42 |
|
|
#ifndef AUTH_H |
#ifndef AUTH_H |
#define AUTH_H |
#define AUTH_H |
|
|
#include <signal.h> |
#include "key.h" |
|
#include "hostfile.h" |
#include <openssl/rsa.h> |
#include <openssl/rsa.h> |
|
|
#ifdef HAVE_LOGIN_CAP |
#ifdef HAVE_LOGIN_CAP |
|
|
typedef struct KbdintDevice KbdintDevice; |
typedef struct KbdintDevice KbdintDevice; |
|
|
struct Authctxt { |
struct Authctxt { |
sig_atomic_t success; |
int success; |
int authenticated; /* authenticated and alarms cancelled */ |
|
int postponed; /* authentication needs another step */ |
int postponed; /* authentication needs another step */ |
int valid; /* user exists and is allowed to login */ |
int valid; /* user exists and is allowed to login */ |
int attempt; |
int attempt; |