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

Function add_node_nocopy

lib/common/xml.c:345–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343
344
345int
346add_node_nocopy(xmlNode *parent, const char *name, xmlNode *child)
347{
348 add_node_copy(parent, child);
349 free_xml(child);
350 return 1;
351}
352
353const char *
354crm_xml_add(xmlNode* node, const char *name, const char *value)

Callers 2

convert_ha_fieldFunction · 0.85

Calls 2

add_node_copyFunction · 0.85
free_xmlFunction · 0.85

Tested by

no test coverage detected