From ffc65c1f90f685e98f2f6d0a5d72c661b69cb3df Mon Sep 17 00:00:00 2001 From: pescuma Date: Thu, 7 Jan 2010 02:10:02 +0000 Subject: sip: 0.1.1.0 + Build with vc6 * Fix for wrong voice service version git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@207 c086bb3d-8645-0410-b8da-73a8550f86e7 --- Protocols/SIP/lib/pjsip/pjnath/include/pjnath/ice_strans.h | 13 ++++++++++++- .../SIP/lib/pjsip/pjnath/include/pjnath/turn_session.h | 12 ++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) (limited to 'Protocols/SIP/lib/pjsip/pjnath/include') diff --git a/Protocols/SIP/lib/pjsip/pjnath/include/pjnath/ice_strans.h b/Protocols/SIP/lib/pjsip/pjnath/include/pjnath/ice_strans.h index 6788796..e1cc6ec 100644 --- a/Protocols/SIP/lib/pjsip/pjnath/include/pjnath/ice_strans.h +++ b/Protocols/SIP/lib/pjsip/pjnath/include/pjnath/ice_strans.h @@ -1,4 +1,4 @@ -/* $Id: ice_strans.h 2966 2009-10-25 09:02:07Z bennylp $ */ +/* $Id: ice_strans.h 3028 2009-12-08 13:11:25Z bennylp $ */ /* * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono @@ -621,6 +621,17 @@ PJ_DECL(pj_status_t) pj_ice_strans_get_ufrag_pwd(pj_ice_strans *ice_st, pj_str_t *rem_pwd); +/** + * Get the number of local candidates for the specified component ID. + * + * @param ice_st The ICE stream transport. + * @param comp_id Component ID. + * + * @return The number of candidates. + */ +PJ_DECL(unsigned) pj_ice_strans_get_cands_count(pj_ice_strans *ice_st, + unsigned comp_id); + /** * Enumerate the local candidates for the specified component. * diff --git a/Protocols/SIP/lib/pjsip/pjnath/include/pjnath/turn_session.h b/Protocols/SIP/lib/pjsip/pjnath/include/pjnath/turn_session.h index a23aac2..21b45c2 100644 --- a/Protocols/SIP/lib/pjsip/pjnath/include/pjnath/turn_session.h +++ b/Protocols/SIP/lib/pjsip/pjnath/include/pjnath/turn_session.h @@ -1,4 +1,4 @@ -/* $Id: turn_session.h 2642 2009-04-22 17:20:24Z bennylp $ */ +/* $Id: turn_session.h 3028 2009-12-08 13:11:25Z bennylp $ */ /* * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono @@ -455,11 +455,19 @@ PJ_DECL(pj_status_t) pj_turn_session_shutdown(pj_turn_session *sess); * be notified about the client destruction. * * @param sess The TURN client session. + * @param last_err Optional error code to be set to the session, + * which would be returned back in the \a info + * parameter of #pj_turn_session_get_info(). If + * this argument value is PJ_SUCCESS, the error + * code will not be set. If the session already + * has an error code set, this function will not + * overwrite that error code either. * * @return PJ_SUCCESS if the operation has been successful, * or the appropriate error code on failure. */ -PJ_DECL(pj_status_t) pj_turn_session_destroy(pj_turn_session *sess); +PJ_DECL(pj_status_t) pj_turn_session_destroy(pj_turn_session *sess, + pj_status_t last_err); /** -- cgit v1.2.3