From 3c4737b86e55b69670b9fc4c014e77fa6fa00194 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 8 Nov 2007 09:24:30 +0000 Subject: - Added option to send empty Authorization header in outgoing requests - When UAS has sent answer in reliable 1xx, do not put SDP in 2xx - Handle the case when UPDATE is challenged with 401/407 - Obsolete --service-route option in pjsua git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1561 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsip-ua/sip_regc.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pjsip/include/pjsip-ua/sip_regc.h') diff --git a/pjsip/include/pjsip-ua/sip_regc.h b/pjsip/include/pjsip-ua/sip_regc.h index be2e37a5..62d2336f 100644 --- a/pjsip/include/pjsip-ua/sip_regc.h +++ b/pjsip/include/pjsip-ua/sip_regc.h @@ -188,6 +188,17 @@ PJ_DECL(pj_status_t) pjsip_regc_set_credentials( pjsip_regc *regc, int count, const pjsip_cred_info cred[] ); +/** + * Set authentication preference. + * + * @param regc The registration structure. + * @param pref Authentication preference. + * + * @return PJ_SUCCESS on success. + */ +PJ_DECL(pj_status_t) pjsip_regc_set_prefs( pjsip_regc *regc, + const pjsip_auth_clt_pref *pref); + /** * Set route set to be used for outgoing requests. * -- cgit v1.2.3