[asterisk-dev] Linked lists

Mark Michelson mmichelson at digium.com
Mon Oct 19 12:41:07 CDT 2009


Luis Santana wrote:
> Hello,
> is there a comprehensive tutorial on linked lists in asterisk?
> Describing functions as AST_LIST_TRAVERSE, AST_LOCK,etc.
>  

The best option is to look at include/asterisk/linkedlists.h and read
the comments scattered throughout that file. Then, having read that,
find examples in the code where specific list macros are used. There's no 
step-by-step how-to anywhere in the source tree, and I haven't seen one posted 
on-line anywhere either.

Mark Michelson

> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list