Commit 87cd3cd4 authored by Pekka Pessi's avatar Pekka Pessi

nta: added nta_agent_tports()

Ignore-this: 8b7c5632dd416e87d129f2b54ac959b1

darcs-hash:20090304182736-db55f-81e06212e16edc233393ec2184344fbfe9db50df.gz
parent 328d441d
......@@ -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,
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment