On Thu, Feb 07, 2008 at 05:34:05PM -0600, Scott Wood wrote:
David Gibson wrote:
And here's a revised version. This now also handles recursive
iteration and iteration across nodes without respect to depth. I've
removed the for_each() macros for the time being, because they were
making my
David Gibson wrote:
And here's a revised version. This now also handles recursive
iteration and iteration across nodes without respect to depth. I've
removed the for_each() macros for the time being, because they were
making my brain hurt, but I'm still contemplating bringing them back.
On Wed, Jan 16, 2008 at 05:20:22PM +1100, David Gibson wrote:
Here's my counter-attempt at node iterators for libfdt. It's based on
an internal function very similar to Scott's fdt_next_node(), but the
exported interfaces are altered to be (IMO) safer and simpler.
So far, it only handles
Here's my counter-attempt at node iterators for libfdt. It's based on
an internal function very similar to Scott's fdt_next_node(), but the
exported interfaces are altered to be (IMO) safer and simpler.
So far, it only handles iterating across immediate children of a node,
not traversing an