aboutsummaryrefslogtreecommitdiff
path: root/audit.h
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-02-14 19:47:15 +0000
committerEd Maste <emaste@FreeBSD.org>2020-02-14 19:47:15 +0000
commitf02e39982452024dafcf0ea6e536ebff586ffce4 (patch)
tree78cdaad953cc879dc7d97272436a4d84b228d94c /audit.h
parentdc9e8d9c8401178683a1f53bc816389a1160dc41 (diff)
downloadsrc-f02e39982452024dafcf0ea6e536ebff586ffce4.tar.gz
src-f02e39982452024dafcf0ea6e536ebff586ffce4.zip
Vendor import of OpenSSH 8.0p1.vendor/openssh/8.0p1
Notes
Notes: svn path=/vendor-crypto/openssh/dist/; revision=357933 svn path=/vendor-crypto/openssh/8.0p1/; revision=357934; tag=vendor/openssh/8.0p1
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 0b593666d9e1..38cb5ad31d4a 100644
--- a/audit.h
+++ b/audit.h
@@ -27,6 +27,8 @@
#include "loginrec.h"
+struct ssh;
+
enum ssh_audit_event_type {
SSH_LOGIN_EXCEED_MAXTRIES,
SSH_LOGIN_ROOT_DENIED,
@@ -46,7 +48,7 @@ enum ssh_audit_event_type {
typedef enum ssh_audit_event_type ssh_audit_event_t;
void audit_connection_from(const char *, int);
-void audit_event(ssh_audit_event_t);
+void audit_event(struct ssh *, ssh_audit_event_t);
void audit_session_open(struct logininfo *);
void audit_session_close(struct logininfo *);
void audit_run_command(const char *);