Asterisk - The Open Source Telephony Project GIT-master-d856a3e
|
An external processor of received messages. More...
#include <message.h>
Data Fields | |
int(*const | handle_msg )(struct ast_msg *msg) |
The function callback that will handle the message. More... | |
int(*const | has_destination )(const struct ast_msg *msg) |
Return whether or not the message has a valid destination. More... | |
const char * | name |
Name of the message handler. More... | |
int(*const handle_msg) (struct ast_msg *msg) |
int(*const has_destination) (const struct ast_msg *msg) |
Return whether or not the message has a valid destination.
A message may be delivered to the dialplan and/or other locations, depending on whether or not other handlers have been registered. This function is called by the message core to determine if any handler can process a message.
msg | The message to inspect |
0 | The message does not have a valid destination |
1 | The message has a valid destination |
const char* name |
Name of the message handler.
Definition at line 102 of file message.h.
Referenced by PathSegment::get_child(), Parameter::load(), Property::load(), SwaggerType::load(), and msg_handler_cmp().