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