Asterisk - The Open Source Telephony Project
21.4.1
|
Common structure elements. More...
#include <security_events_defs.h>
Data Fields | |
const char * | account_id |
Account ID, specific to the service type. More... | |
enum ast_security_event_type | event_type |
The security event sub-type. | |
struct ast_security_event_ip_addr | local_addr |
Local address the request came in on. More... | |
const char * | module |
Module, Normally the AST_MODULE define. More... | |
struct ast_security_event_ip_addr | remote_addr |
Remote address the request came from. More... | |
const char * | service |
Service that generated the event. More... | |
const char * | session_id |
Session ID, specific to the service type. More... | |
const struct timeval * | session_tv |
Session timeval, when the session started. More... | |
uint32_t | version |
security event version | |
Common structure elements.
This is the structure header for all event descriptor structures defined below. The contents of this structure are very important and must not change. Even though these structures are exposed via a public API, we have a version field that can be used to ensure ABI safety. If the event descriptors need to be changed or updated in the future, we can safely do so and can detect ABI changes at runtime.
Definition at line 156 of file security_events_defs.h.
const char* account_id |
Account ID, specific to the service type.
Definition at line 177 of file security_events_defs.h.
struct ast_security_event_ip_addr local_addr |
Local address the request came in on.
Definition at line 192 of file security_events_defs.h.
const char* module |
Module, Normally the AST_MODULE define.
Definition at line 172 of file security_events_defs.h.
struct ast_security_event_ip_addr remote_addr |
Remote address the request came from.
Definition at line 197 of file security_events_defs.h.
const char* service |
Service that generated the event.
Examples: "SIP", "AMI"
Definition at line 167 of file security_events_defs.h.
const char* session_id |
Session ID, specific to the service type.
Definition at line 182 of file security_events_defs.h.
const struct timeval* session_tv |
Session timeval, when the session started.
Definition at line 187 of file security_events_defs.h.