27 #ifndef __AST_SECURITY_EVENTS_H__
28 #define __AST_SECURITY_EVENTS_H__
35 #if defined(__cplusplus) || defined(c_plusplus)
140 #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 stasis_message_type * ast_security_event_type(void)
A stasis_message_type for security events.
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.
ast_event_ie_type
Event Information Element types.
const 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.
Security Event Reporting Data Structures.
const 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.
int ast_security_stasis_init(void)
initializes stasis topic/event types for ast_security_topic and ast_security_event_type ...
struct stasis_topic * ast_security_topic(void)
A stasis_topic which publishes messages for security related issues.
const char * ast_security_event_get_name(const enum ast_security_event_type event_type)
Get the name of a security event sub-type.