diff options
Diffstat (limited to 'audit.h')
-rw-r--r-- | audit.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -27,6 +27,8 @@ | |||
27 | 27 | ||
28 | #include "loginrec.h" | 28 | #include "loginrec.h" |
29 | 29 | ||
30 | struct ssh; | ||
31 | |||
30 | enum ssh_audit_event_type { | 32 | enum ssh_audit_event_type { |
31 | SSH_LOGIN_EXCEED_MAXTRIES, | 33 | SSH_LOGIN_EXCEED_MAXTRIES, |
32 | SSH_LOGIN_ROOT_DENIED, | 34 | SSH_LOGIN_ROOT_DENIED, |
@@ -46,7 +48,7 @@ enum ssh_audit_event_type { | |||
46 | typedef enum ssh_audit_event_type ssh_audit_event_t; | 48 | typedef enum ssh_audit_event_type ssh_audit_event_t; |
47 | 49 | ||
48 | void audit_connection_from(const char *, int); | 50 | void audit_connection_from(const char *, int); |
49 | void audit_event(ssh_audit_event_t); | 51 | void audit_event(struct ssh *, ssh_audit_event_t); |
50 | void audit_session_open(struct logininfo *); | 52 | void audit_session_open(struct logininfo *); |
51 | void audit_session_close(struct logininfo *); | 53 | void audit_session_close(struct logininfo *); |
52 | void audit_run_command(const char *); | 54 | void audit_run_command(const char *); |