util: rb_tree: add safe iterators
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sun, 29 Jul 2018 13:13:25 +0000 (14:13 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 22 Aug 2018 16:49:36 +0000 (17:49 +0100)
commit14a1cb37ebd3adbceb56f99f4727e45309b75ec2
tree2dffb0f566eece202ed5920df907fced4f803736
parent4616639b49b4bbc91e503c1c27632dccc1c2b5be
util: rb_tree: add safe iterators

v2: Add helper to make iterators more readable (Rafael)
    Fix rev iterator bug (Rafael)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/util/rb_tree.h