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

Function crm_element_value_copy

lib/common/xml.c:1149–1158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1147}
1148
1149char *
1150crm_element_value_copy(xmlNode *data, const char *name)
1151{
1152 char *value_copy = NULL;
1153 const char *value = crm_element_value(data, name);
1154 if(value != NULL) {
1155 value_copy = strdup(value);
1156 }
1157 return value_copy;
1158}
1159
1160void
1161xml_remove_prop(xmlNode *obj, const char *name)

Callers 15

exec_rsc_actionFunction · 0.85
exec_stonith_actionFunction · 0.85
cib_remote_listenFunction · 0.85
build_rsc_from_xmlFunction · 0.85
create_lrmd_cmdFunction · 0.85
remote_op_doneFunction · 0.85
create_remote_stonith_opFunction · 0.85
create_async_commandFunction · 0.85
build_device_from_xmlFunction · 0.85
cib_update_counterFunction · 0.85
cib_native_signon_rawFunction · 0.85
stonith_api_historyFunction · 0.85

Calls 1

crm_element_valueFunction · 0.85

Tested by

no test coverage detected