Review Board 1.7.16

Convert open coded lists in indications to linked list macros

Review Request #34 - Created Nov. 6, 2008 and submitted

Sean Bright
(I added this before but I guess I did something wrong when I published it)

This patch converts the open coded linked list in the indications code to use the AST_LIST_* macros.  Using the list macros is less error prone and reduces the amount of code needed to manage the structures.

But honestly, my main motivation for writing this was to bump up my C skills on ohloh.

Review request changed
Updated (Nov. 6, 2008, 9:42 a.m.)
Fixed a log error I introduced in ast_register_indication that would re-insert an indication even if it was already in the list.
Ship it!
Posted (Nov. 7, 2008, 2:17 a.m.)
As far as the list conversion goes, this is good to go.

There are still the larger issues of object management in this code in general, but that is unrelated to these changes. runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to