[asterisk-dev] Use of AST_RWLIST*

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri Jun 5 10:38:31 CDT 2009


On Friday 05 June 2009 04:34:13 Holger Wirtz wrote:
> My problem was that I had to create a dynamic AST_RWLIST and I had not
> understand to create a struct for the entries. I thaught that I could
> put ast_frames directly into the AST_RWLIST...

While they aren't RWLISTs, if you take a look in func_lock.c (in trunk), I'm
creating an AST_LIST on the fly and the entries to go within.  That may
help finding a similar answer in the future.

-- 
Tilghman



More information about the asterisk-dev mailing list