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_event_ie_type
Event Information Element types.
enum ast_security_event_severity severity
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.
const char * ast_security_event_get_name(const enum ast_security_event_type event_type)
Get the name of a security event sub-type.
int ast_security_stasis_init(void)
initializes stasis topic/event types for ast_security_topic and ast_security_event_type
const char * ast_security_event_severity_get_name(const enum ast_security_event_severity severity)
Get the name of a security event severity.
struct stasis_message_type * ast_security_event_type(void)
A stasis_message_type for security events.
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_event_report(const struct ast_security_event_common *sec)
Report a security event.
struct stasis_topic * ast_security_topic(void)
A stasis_topic which publishes messages for security related issues.
Security Event Reporting Data Structures.
ast_security_event_severity
the severity of a security event
ast_security_event_type
Security event types.
Common structure elements.
size_t offset
For internal usage.
enum ast_event_ie_type ie_type