add a tree function to return a list of elements

This patch provides a function returning all the node of the tree
matching the substring passed a parameter.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2 files changed