mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
Merge "res_pjsip_pubsub: Solidify lifetime and ownership of objects."
This commit is contained in:
@@ -684,6 +684,15 @@ const char *ast_sip_subscription_get_body_type(struct ast_sip_subscription *sub)
|
||||
*/
|
||||
const char *ast_sip_subscription_get_body_subtype(struct ast_sip_subscription *sub);
|
||||
|
||||
/*!
|
||||
* \since 13.6.0
|
||||
* \brief Alert the pubsub core that the subscription is ready for destruction
|
||||
*
|
||||
* \param sub The subscription that is complete
|
||||
* \return Nothing
|
||||
*/
|
||||
void ast_sip_subscription_destroy(struct ast_sip_subscription *sub);
|
||||
|
||||
/*! \brief Determines whether the res_pjsip_pubsub module is loaded */
|
||||
#define CHECK_PJSIP_PUBSUB_MODULE_LOADED() \
|
||||
do { \
|
||||
|
||||
Reference in New Issue
Block a user