[asterisk-dev] [Code Review] Add red-black tree container type to astobj2.
rmudgett
reviewboard at asterisk.org
Wed Sep 12 17:02:40 CDT 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2110/
-----------------------------------------------------------
Review request for Asterisk Developers.
Summary
-------
* Add red-black tree container type.
* Add CLI command "astobj2 container dump <name>"
* Added ao2_container_dump() so the container could be dumped by other
modules for debugging purposes.
* Changed ao2_container_stats() so it can be used by other modules like
ao2_container_check() for debugging purposes.
This addresses bug ASTERISK-19970.
https://issues.asterisk.org/jira/browse/ASTERISK-19970
Diffs
-----
/trunk/include/asterisk/astobj2.h 373005
/trunk/include/asterisk/test.h 373005
/trunk/main/astobj2.c 373005
/trunk/main/channel.c 373005
/trunk/main/test.c 373005
/trunk/tests/test_astobj2.c 373005
Diff: https://reviewboard.asterisk.org/r/2110/diff
Testing
-------
Updated the unit tests to check red-black tree containers.
Unit tests pass.
Thanks,
rmudgett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120912/5ece9724/attachment.htm>
More information about the asterisk-dev
mailing list