19 #ifndef _ASTERISK_RES_STASIS_COMMAND_H 20 #define _ASTERISK_RES_STASIS_COMMAND_H struct stasis_app_command * command_create(stasis_app_command_cb callback, void *data, command_data_destructor_fn data_destructor)
Main Channel structure associated with a channel.
command_data_destructor_fn data_destructor
int(* stasis_app_command_cb)(struct stasis_app_control *control, struct ast_channel *chan, void *data)
int command_prestart_queue_command(struct ast_channel *chan, stasis_app_command_cb command_fn, void *data, command_data_destructor_fn data_destructor)
Queue a Stasis() prestart command for a channel.
struct ao2_container * command_prestart_get_container(struct ast_channel *chan)
Get the Stasis() prestart commands for a channel.
void command_invoke(struct stasis_app_command *command, struct stasis_app_control *control, struct ast_channel *chan)
void(* command_data_destructor_fn)(void *data)
Typedef for data destructor for stasis app commands.
Backend API for implementing components of res_stasis.
void command_complete(struct stasis_app_command *command, int retval)
stasis_app_command_cb callback
int command_join(struct stasis_app_command *command)