diff options
author | Matt Jordan <mjordan@digium.com> | 2015-10-25 10:10:55 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2015-10-25 10:10:55 -0500 |
commit | 4d576fe6d9ece877ec8f65bbb224eb98bcf5fc0a (patch) | |
tree | 5d7469c82b6ae402d5c0f15c60118efa036c39c7 /include | |
parent | d818e6edceee45ffeeb1b536098d93d3c001aa9e (diff) | |
parent | b3cc2bd7dfad379cec77e7333cc93c23fda6aa92 (diff) |
Merge "res_pjsip_pubsub: Solidify lifetime and ownership of objects." into 13
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/res_pjsip_pubsub.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip_pubsub.h b/include/asterisk/res_pjsip_pubsub.h index afa0d6930..c9b66dce3 100644 --- a/include/asterisk/res_pjsip_pubsub.h +++ b/include/asterisk/res_pjsip_pubsub.h @@ -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 { \ |