Wed Mar 4 12:27:36 CST 2009 Pekka Pessi <first.last@nokia.com>

* nta: added nta_agent_tports()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12552 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-03-10 19:52:52 +00:00
parent b4a57d3300
commit 1bb6e48c63
3 changed files with 13 additions and 1 deletions

View File

@ -1 +1 @@
Tue Mar 10 14:50:56 CDT 2009
Tue Mar 10 14:51:57 CDT 2009

View File

@ -11378,6 +11378,16 @@ int nta_outgoing_setrseq(nta_outgoing_t *orq, uint32_t rseq)
#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,

View File

@ -59,6 +59,8 @@ struct sigcomp_udvm;
#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);