Rev 3582 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3582 | Rev 3618 | ||
---|---|---|---|
Line 207... | Line 207... | ||
207 | * @param node Node whose peer is being looked up. |
207 | * @param node Node whose peer is being looked up. |
208 | * @param name Name of the child being looked up. |
208 | * @param name Name of the child being looked up. |
209 | * |
209 | * |
210 | * @return NULL if there is no such peer or pointer to the matching peer node. |
210 | * @return NULL if there is no such peer or pointer to the matching peer node. |
211 | */ |
211 | */ |
212 | ofw_tree_node_t *ofw_tree_find_peer_by_name(ofw_tree_node_t *node, const char *name) |
212 | ofw_tree_node_t *ofw_tree_find_peer_by_name(ofw_tree_node_t *node, |
- | 213 | const char *name) |
|
213 | { |
214 | { |
214 | ofw_tree_node_t *cur; |
215 | ofw_tree_node_t *cur; |
215 | ofw_tree_property_t *prop; |
216 | ofw_tree_property_t *prop; |
216 | 217 | ||
217 | for (cur = node->peer; cur; cur = cur->peer) { |
218 | for (cur = node->peer; cur; cur = cur->peer) { |