diff options
Diffstat (limited to 'include/asterisk/res_pjsip_pubsub.h')
-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 { \ |