Callback for the tree traversal method.
the current (relative) root to the entry
the tree entry
the caller-provided callback payload
a positive value to skip the entry, a negative value to stop the walk