[Freeswitch-dev] OZ Question: zap_span_find()

Michael Collins mcollins at fcnetwork.com
Thu Mar 6 21:27:35 EST 2008


Does this function do what I think it does?  If I give it a span number
to look for, it returns ZAP_SUCCESS if it finds the span and it sets the
value of the pointer variable that I call it with?

 

Example, what happens if I do this, assuming span 1 is a real span?

 

zap_span_t *span = NULL;

uint32_t span_id = 1;

result = zap_span_find(span_id, &my_span_pointer);

 

Does *my_span_pointer now point to span 1?  Any caveats that I should be
aware of?

 

Thanks,

MC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20080306/a1afe49a/attachment-0001.html 


More information about the Freeswitch-dev mailing list