21 #ifndef ASTERISK_CHANNEL_INTERNAL_H 22 #define ASTERISK_CHANNEL_INTERNAL_H 24 #define ast_channel_internal_alloc(destructor, assignedid, requestor) __ast_channel_internal_alloc(destructor, assignedid, requestor, __FILE__, __LINE__, __PRETTY_FUNCTION__) Main Channel structure associated with a channel.
void ast_channel_internal_set_stream_topology_change_source(struct ast_channel *chan, void *change_source)
Structure to pass both assignedid values to channel drivers.
void ast_channel_internal_errno_set(enum ast_channel_error error)
void ast_channel_internal_swap_stream_topology(struct ast_channel *chan1, struct ast_channel *chan2)
void ast_channel_internal_cleanup(struct ast_channel *chan)
enum ast_channel_error ast_channel_internal_errno(void)
int ast_channel_internal_is_finalized(struct ast_channel *chan)
int error(const char *format,...)
struct ast_channel * __ast_channel_internal_alloc(void(*destructor)(void *obj), const struct ast_assigned_ids *assignedids, const struct ast_channel *requestor, const char *file, int line, const char *function)
int ast_channel_internal_setup_topics(struct ast_channel *chan)
void ast_channel_internal_finalize(struct ast_channel *chan)
void ast_channel_internal_set_stream_topology(struct ast_channel *chan, struct ast_stream_topology *topology)