diff options
Diffstat (limited to 'audit.h')
-rw-r--r-- | audit.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: audit.h,v 1.3 2006/08/05 14:05:10 dtucker Exp $ */ | 1 | /* $Id: audit.h,v 1.4 2011/01/17 10:15:30 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2004, 2005 Darren Tucker. All rights reserved. | 4 | * Copyright (c) 2004, 2005 Darren Tucker. All rights reserved. |
@@ -26,6 +26,9 @@ | |||
26 | 26 | ||
27 | #ifndef _SSH_AUDIT_H | 27 | #ifndef _SSH_AUDIT_H |
28 | # define _SSH_AUDIT_H | 28 | # define _SSH_AUDIT_H |
29 | |||
30 | #include "loginrec.h" | ||
31 | |||
29 | enum ssh_audit_event_type { | 32 | enum ssh_audit_event_type { |
30 | SSH_LOGIN_EXCEED_MAXTRIES, | 33 | SSH_LOGIN_EXCEED_MAXTRIES, |
31 | SSH_LOGIN_ROOT_DENIED, | 34 | SSH_LOGIN_ROOT_DENIED, |
@@ -46,8 +49,8 @@ typedef enum ssh_audit_event_type ssh_audit_event_t; | |||
46 | 49 | ||
47 | void audit_connection_from(const char *, int); | 50 | void audit_connection_from(const char *, int); |
48 | void audit_event(ssh_audit_event_t); | 51 | void audit_event(ssh_audit_event_t); |
49 | void audit_session_open(const char *); | 52 | void audit_session_open(struct logininfo *); |
50 | void audit_session_close(const char *); | 53 | void audit_session_close(struct logininfo *); |
51 | void audit_run_command(const char *); | 54 | void audit_run_command(const char *); |
52 | ssh_audit_event_t audit_classify_auth(const char *); | 55 | ssh_audit_event_t audit_classify_auth(const char *); |
53 | 56 | ||