|
Asterisk - The Open Source Telephony Project GIT-master-27fb039
|
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. | |
| int(*const | has_destination )(const struct ast_msg *msg) |
| Return whether or not the message has a valid destination. | |
| const char * | name |
| Name of the message handler. | |
| 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(), SwaggerType::load(), and msg_handler_cmp().