[asterisk-dev] Use of AST_RWLIST*

Holger Wirtz wirtz at dfn.de
Thu Jun 4 03:16:35 CDT 2009


Hi all,

I need a dynmaicly created in- and out-queue for "struct ast_frame*". I
tried to implement them with astobj2 but it seems that I haven't
understand how to use ao2 objects as a simple queue (for hashes ao2
objects working real fine).

Now I am trying to use AST_RWLIST but I don't understand how to use it.
I tried to find some information from other code without success. So I
hope somebody from this list can give me some hints what I am doing
wrong. Also reading asterisk/include/linkedlists.h does not help to
recognize how to use AST_RWLIST...

Has anyone a hint for me how to set up my queues?

TIA,

Holger
-- 
#####  #### ##  ##   Holger Wirtz         Phone : (+49 30) 884299-40
##  ## ##   ### ##   DFN-Verein           Fax   : (+49 30) 884299-70
##  ## #### ######   Alexanderplatz 1     E-Mail: wirtz at dfn.de
##  ## ##   ## ###   10178 Berlin
#####  ##   ##  ##   GERMANY              WWW   : http://www.dfn.de
GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC  0C51 E961 79E2 6685 9BCF



More information about the asterisk-dev mailing list