MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / __xml_first_child

Function __xml_first_child

include/crm/common/xml.h:209–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207void crm_xml_cleanup(void);
208
209static inline xmlNode *
210__xml_first_child(xmlNode * parent)
211{
212 xmlNode *child = NULL;
213
214 if (parent) {
215 child = parent->children;
216 while (child && child->type != XML_ELEMENT_NODE) {
217 child = child->next;
218 }
219 }
220 return child;
221}
222
223static inline xmlNode *
224__xml_next(xmlNode * child)

Callers 15

print_cts_constraintsFunction · 0.85
print_cts_rscFunction · 0.85
find_resource_attrFunction · 0.85
print_rsc_historyFunction · 0.85
print_node_summaryFunction · 0.85
print_statusFunction · 0.85
create_opFunction · 0.85
do_find_node_listFunction · 0.85
dump_data_elementFunction · 0.85
print_xml_diffFunction · 0.85
node_mcp_dispatchFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_rulesetFunction · 0.68
test_ruleFunction · 0.68