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

Function add_node_copy

lib/common/xml.c:332–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332xmlNode*
333add_node_copy(xmlNode *parent, xmlNode *src_node)
334{
335 xmlNode *child = NULL;
336 xmlDoc *doc = getDocPtr(parent);
337 CRM_CHECK(src_node != NULL, return NULL);
338
339 child = xmlDocCopyNode(src_node, doc, 1);
340 xmlAddChild(parent, child);
341 return child;
342}
343
344
345int

Callers 15

move_resourceFunction · 0.85
create_cib_fragment_advFunction · 0.85
cib_process_modifyFunction · 0.85
cib_process_xpathFunction · 0.85
update_resultsFunction · 0.85
diff_xml_object_origFunction · 0.85
add_node_nocopyFunction · 0.85
add_message_xmlFunction · 0.85
subtract_xml_objectFunction · 0.85
find_xml_childrenFunction · 0.85
sorted_xmlFunction · 0.85
calculate_xml_digest_v2Function · 0.85

Calls 1

getDocPtrFunction · 0.85

Tested by

no test coverage detected