[Freeswitch-trunk] [commit] r12552 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/nta libsofia-sip-ua/nta/sofia-sip
FreeSWITCH SVN
mikej at freeswitch.org
Tue Mar 10 12:52:53 PDT 2009
Author: mikej
Date: Tue Mar 10 14:52:52 2009
New Revision: 12552
Log:
Wed Mar 4 12:27:36 CST 2009 Pekka Pessi <first.last at nokia.com>
* nta: added nta_agent_tports()
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/sofia-sip/nta_tport.h
Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update (original)
+++ freeswitch/trunk/libs/sofia-sip/.update Tue Mar 10 14:52:52 2009
@@ -1 +1 @@
-Tue Mar 10 14:50:56 CDT 2009
+Tue Mar 10 14:51:57 CDT 2009
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c Tue Mar 10 14:52:52 2009
@@ -11378,6 +11378,16 @@
#include <sofia-sip/nta_tport.h>
+/** Return the master transport for the agent.
+ *
+ * @NEW_1_12_11
+ */
+tport_t *
+nta_agent_tports(nta_agent_t *agent)
+{
+ return agent ? agent->sa_tports : NULL;
+}
+
su_inline tport_t *
nta_transport_(nta_agent_t *agent,
nta_incoming_t *irq,
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/sofia-sip/nta_tport.h
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/sofia-sip/nta_tport.h (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/sofia-sip/nta_tport.h Tue Mar 10 14:52:52 2009
@@ -59,6 +59,8 @@
#define nta_transport nta_incoming_transport
+SOFIAPUBFUN tport_t *nta_agent_tports(nta_agent_t *agent);
+
SOFIAPUBFUN
tport_t *nta_incoming_transport(nta_agent_t *, nta_incoming_t *, msg_t *msg);
More information about the Freeswitch-trunk
mailing list