I see that nta_leg_magic() is defined like this:

nta_leg_magic_t *       nta_leg_magic (nta_leg_t const *leg, nta_request_f 
*callback)
        Return application context for the leg.

But what's the purpose of including the callback function in the
request? Shouldn't it be enough with passing just the leg pointer to
get the leg's context?

Cheers,
-Aleksander

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to