USBGuard
Software framework that protects your computer against rogue USB devices by implementing basic whitelisting and blacklisting capabilities.
|
Commits and writes audit events into log. More...
#include <Audit.hpp>
Public Member Functions | |
AuditBackend () | |
Default constructor. | |
virtual | ~AuditBackend () |
Default destructor. | |
virtual void | write (const AuditEvent &event)=0 |
Writes given AuditEvent into log. More... | |
void | commit (const AuditEvent &event) |
Commits given AuditEvent. More... | |
Commits and writes audit events into log.
void usbguard::AuditBackend::commit | ( | const AuditEvent & | event | ) |
Commits given AuditEvent.
Locks backend mutex and writes given audit event into log.
event | AuditEvent to commit. |
|
pure virtual |
Writes given AuditEvent into log.
event | AuditEvent that should be written into log. |