| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
System AMI event handling. More...
#include "asterisk.h"#include "asterisk/stasis.h"#include "asterisk/stasis_message_router.h"#include "asterisk/stasis_system.h"
Go to the source code of this file.
| Functions | |
| int | manager_system_init (void) | 
| Initialize support for AMI system events. | |
| static void | manager_system_shutdown (void) | 
| Variables | |
| static struct stasis_forward * | topic_forwarder | 
| The Stasis Message Bus API subscription returned by the forwarding of the system topic to the manager topic. | |
System AMI event handling.
Definition in file manager_system.c.
| int manager_system_init | ( | void | ) | 
Initialize support for AMI system events.
| 0 | on success | 
| non-zero | on error | 
Definition at line 43 of file manager_system.c.
References ast_manager_get_message_router(), ast_manager_get_topic(), ast_register_cleanup(), ast_system_topic(), manager_system_shutdown(), manager_topic, stasis_forward_all(), system_topic, and topic_forwarder.
Referenced by subscribe_all().
| 
 | static | 
Definition at line 37 of file manager_system.c.
References NULL, stasis_forward_cancel(), and topic_forwarder.
Referenced by manager_system_init().
| 
 | static | 
The Stasis Message Bus API subscription returned by the forwarding of the system topic to the manager topic.
Definition at line 35 of file manager_system.c.
Referenced by manager_system_init(), and manager_system_shutdown().