USBGuard
Software framework that protects your computer against rogue USB devices by implementing basic whitelisting and blacklisting capabilities.
Public Member Functions | List of all members
usbguard::AuditBackend Class Referenceabstract

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...
 

Detailed Description

Commits and writes audit events into log.

Member Function Documentation

◆ commit()

void usbguard::AuditBackend::commit ( const AuditEvent event)

Commits given AuditEvent.

Locks backend mutex and writes given audit event into log.

Parameters
eventAuditEvent to commit.
See also
write()

◆ write()

virtual void usbguard::AuditBackend::write ( const AuditEvent event)
pure virtual

Writes given AuditEvent into log.

Parameters
eventAuditEvent that should be written into log.

The documentation for this class was generated from the following files: