Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Callbacks and other parameters used by an Asterisk external application object. More...
#include <res_aeap.h>
Data Fields | |
unsigned int | emit_error |
const struct ast_aeap_message_type * | msg_type |
void(* | on_binary )(struct ast_aeap *aeap, const void *buf, intmax_t size) |
Raised when binary data is received. More... | |
void(* | on_error )(struct ast_aeap *aeap) |
Raised when an error occurs during reading. More... | |
void(* | on_string )(struct ast_aeap *aeap, const char *buf, intmax_t size) |
Raised when string data is received. More... | |
const struct ast_aeap_message_handler * | request_handlers |
uintmax_t | request_handlers_size |
const struct ast_aeap_message_handler * | response_handlers |
uintmax_t | response_handlers_size |
Callbacks and other parameters used by an Asterisk external application object.
Definition at line 144 of file res_aeap.h.
unsigned int emit_error |
If true pass along error messages to the implementation. Otherwise log it only, and consider it handled.
Definition at line 149 of file res_aeap.h.
Referenced by raise_msg_handler().
const struct ast_aeap_message_type* msg_type |
The message type used for communication
Definition at line 152 of file res_aeap.h.
Referenced by AST_TEST_DEFINE(), load_module(), raise_msg(), and raise_msg_handler().
Raised when binary data is received.
aeap | An Asterisk external application object |
buf | The buffer containing binary data |
size | The size of the buffer |
Definition at line 171 of file res_aeap.h.
Referenced by aeap_receive().
void(* on_error) (struct ast_aeap *aeap) |
Raised when an error occurs during reading.
aeap | An Asterisk external application object |
Definition at line 192 of file res_aeap.h.
Referenced by aeap_receive().
Raised when string data is received.
aeap | An Asterisk external application object |
buf | The buffer containing string data |
size | The size/length of the string |
Definition at line 180 of file res_aeap.h.
Referenced by aeap_receive(), and AST_TEST_DEFINE().
const struct ast_aeap_message_handler* request_handlers |
Request handlers array
Definition at line 160 of file res_aeap.h.
Referenced by AST_TEST_DEFINE(), and raise_msg().
uintmax_t request_handlers_size |
The number of request handlers
Definition at line 162 of file res_aeap.h.
Referenced by raise_msg().
const struct ast_aeap_message_handler* response_handlers |
Response handlers array
Definition at line 155 of file res_aeap.h.
Referenced by AST_TEST_DEFINE(), and raise_msg().
uintmax_t response_handlers_size |
The number of response handlers
Definition at line 157 of file res_aeap.h.
Referenced by raise_msg().