27 #ifndef __AST_SECURITY_EVENTS_H__
28 #define __AST_SECURITY_EVENTS_H__
35 #if defined(__cplusplus) || defined(c_plusplus)
110 #if defined(__cplusplus) || defined(c_plusplus)
ast_security_event_severity
the severity of a security event
int ast_security_event_report(const struct ast_security_event_common *sec)
Report a security event.
ast_security_event_type
Security event types.
struct ast_security_event_ie_type * ast_security_event_get_optional_ies(const enum ast_security_event_type event_type)
Get the list of optional IEs for a given security event sub-type.
const char * ast_security_event_severity_get_name(const enum ast_security_event_severity severity)
Get the name of a security event severity.
size_t offset
For internal usage.
Common structure elements.
struct ast_security_event_ie_type * ast_security_event_get_required_ies(const enum ast_security_event_type event_type)
Get the list of required IEs for a given security event sub-type.
ast_event_ie_type
Event Information Element types.
enum ast_event_ie_type ie_type
Security Event Reporting Data Structures.
enum ast_security_event_severity severity
const char * ast_security_event_get_name(const enum ast_security_event_type event_type)
Get the name of a security event sub-type.