summaryrefslogtreecommitdiff
path: root/audit.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-01-20 14:55:27 +1100
committerDamien Miller <djm@mindrot.org>2019-01-20 14:55:27 +1100
commit9b655dc9c9a353f0a527f0c6c43a5e35653c9503 (patch)
tree78b3512ffa1a9e5b8d954aca6fb45a0a3045504b /audit.h
parent3f0786bbe73609ac96e5a0d91425ee21129f8e04 (diff)
last bits of old packet API / active_state global
Diffstat (limited to 'audit.h')
-rw-r--r--audit.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/audit.h b/audit.h
index 0b593666d..38cb5ad31 100644
--- a/audit.h
+++ b/audit.h
@@ -27,6 +27,8 @@
27 27
28#include "loginrec.h" 28#include "loginrec.h"
29 29
30struct ssh;
31
30enum ssh_audit_event_type { 32enum 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 {
46typedef enum ssh_audit_event_type ssh_audit_event_t; 48typedef enum ssh_audit_event_type ssh_audit_event_t;
47 49
48void audit_connection_from(const char *, int); 50void audit_connection_from(const char *, int);
49void audit_event(ssh_audit_event_t); 51void audit_event(struct ssh *, ssh_audit_event_t);
50void audit_session_open(struct logininfo *); 52void audit_session_open(struct logininfo *);
51void audit_session_close(struct logininfo *); 53void audit_session_close(struct logininfo *);
52void audit_run_command(const char *); 54void audit_run_command(const char *);