#include <channel.h>
Data Fields | |
void *(* | alloc )(struct ast_channel *chan, void *params) |
int(* | generate )(struct ast_channel *chan, void *data, int len, int samples) |
void(* | release )(struct ast_channel *chan, void *data) |
Definition at line 139 of file channel.h.
void*(* alloc)(struct ast_channel *chan, void *params) |
Referenced by ast_activate_generator().
int(* generate)(struct ast_channel *chan, void *data, int len, int samples) |
This function gets called with the channel unlocked, but is called in the context of the channel thread so we know the channel is not going to disappear. This callback is responsible for locking the channel as necessary.
Referenced by __ast_read(), ast_read_generator_actions(), and cb_events().
void(* release)(struct ast_channel *chan, void *data) |
Referenced by ast_activate_generator(), ast_deactivate_generator(), and ast_hangup().