mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 19:16:46 +00:00
Revert "Revert "Add API for channel frame deferral.""
This reverts commit 6b5a7ced13
.
Change-Id: I61d1dbb2e69e1977f684b7dfc8e98211024e1cd1
This commit is contained in:
@@ -223,6 +223,7 @@ struct ast_channel {
|
||||
struct stasis_cp_single *topics; /*!< Topic for all channel's events */
|
||||
struct stasis_forward *endpoint_forward; /*!< Subscription for event forwarding to endpoint's topic */
|
||||
struct stasis_forward *endpoint_cache_forward; /*!< Subscription for cache updates to endpoint's topic */
|
||||
struct ast_readq_list deferred_readq;
|
||||
};
|
||||
|
||||
/*! \brief The monotonically increasing integer counter for channel uniqueids */
|
||||
@@ -1698,3 +1699,8 @@ enum ast_channel_error ast_channel_internal_errno(void)
|
||||
|
||||
return *error_code;
|
||||
}
|
||||
|
||||
struct ast_readq_list *ast_channel_deferred_readq(struct ast_channel *chan)
|
||||
{
|
||||
return &chan->deferred_readq;
|
||||
}
|
||||
|
Reference in New Issue
Block a user