mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
Revert "Revert "Add API for channel frame deferral.""
This reverts commit fa749866c1
.
Change-Id: Idcd1b88fa0766b1326dcc87d8905dbc314c71bd7
This commit is contained in:
@@ -221,6 +221,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 */
|
||||
@@ -1681,3 +1682,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