diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-01-21 10:04:26 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-01-21 10:04:26 +0000 |
commit | 0535be243fddf29f4ab4164cbe1b67d59d59b250 (patch) | |
tree | 90c897205aab455ed7d405bd47e9ae82cbd9a3b3 /pjsip/include/pjsip | |
parent | 29f2c32efa33d5126e53ee1afba31f967517cf1e (diff) |
Ticket #1029: Fix support for multiple (event) subscriptions in a single dialog (thanks Wang Eric for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3068 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip')
-rw-r--r-- | pjsip/include/pjsip/sip_dialog.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pjsip/include/pjsip/sip_dialog.h b/pjsip/include/pjsip/sip_dialog.h index 6b748b3a..6ac44c30 100644 --- a/pjsip/include/pjsip/sip_dialog.h +++ b/pjsip/include/pjsip/sip_dialog.h @@ -372,6 +372,18 @@ PJ_DECL(pj_status_t) pjsip_dlg_add_usage( pjsip_dialog *dlg, void *mod_data ); /** + * Check if the specified module has been registered as usage to the dialog. + * + * @param dlg The dialog. + * @param module The module. + * + * @return PJ_TRUE if the specified module is currently + * registered as a usage to the dialog. + */ +PJ_DECL(pj_bool_t) pjsip_dlg_has_usage(pjsip_dialog *dlg, + pjsip_module *module); + +/** * Attach module specific data to the dialog. Application can also set * the value directly by accessing dlg->mod_data[module_id]. * |