Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

SOFIAPUBFUN int nta_leg_get_route ( nta_leg_t leg,
sip_route_t const **  return_route,
sip_contact_t const **  return_target 
)

Get route

Return route components.

Definition at line 3995 of file nta.c.

{
  if (!leg)
    return -1;

  if (return_route)
    *return_route = leg->leg_route;

  if (return_target)
    *return_target = leg->leg_target;

  return 0;
}


Generated by  Doxygen 1.6.0   Back to index