diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2010-04-20 14:36:38 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2010-04-20 14:36:38 +0000 |
commit | c60d75a58eb933006899e152099dec3900b7bddc (patch) | |
tree | 5cbf60ac31799270dca35ce05a49334a5ed0857f /pjsip/include/pjsip | |
parent | ae2ca64fc09a15a01995613d032480e92a94cada (diff) |
Ticket #1057: Implemented pjsua_modify_acc().
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3144 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip')
-rw-r--r-- | pjsip/include/pjsip/sip_auth.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pjsip/include/pjsip/sip_auth.h b/pjsip/include/pjsip/sip_auth.h index b1b28f54..eb835d27 100644 --- a/pjsip/include/pjsip/sip_auth.h +++ b/pjsip/include/pjsip/sip_auth.h @@ -234,6 +234,18 @@ PJ_DECL(void) pjsip_cred_info_dup(pj_pool_t *pool, const pjsip_cred_info *src); /** + * Compare two credential infos. + * + * @param cred1 The credential info to compare. + * @param cred2 The credential info to compare. + * + * @return 0 if both credentials are equal. + */ +PJ_DECL(int) pjsip_cred_info_cmp(const pjsip_cred_info *cred1, + const pjsip_cred_info *cred2); + + +/** * Type of function to lookup credential for the specified name. * * @param pool Pool to initialize the credential info. |