diff options
author | Damien Miller <djm@mindrot.org> | 2019-01-20 14:55:27 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-20 14:55:27 +1100 |
commit | 9b655dc9c9a353f0a527f0c6c43a5e35653c9503 (patch) | |
tree | 78b3512ffa1a9e5b8d954aca6fb45a0a3045504b /audit.h | |
parent | 3f0786bbe73609ac96e5a0d91425ee21129f8e04 (diff) |
last bits of old packet API / active_state global
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 *); |