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

Function crm_element_value_int

lib/common/xml.c:1125–1135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1123}
1124
1125int
1126crm_element_value_int(xmlNode *data, const char *name, int *dest)
1127{
1128 const char *value = crm_element_value(data, name);
1129 CRM_CHECK(dest != NULL, return -1);
1130 if(value) {
1131 *dest = crm_int_helper(value, NULL);
1132 return 0;
1133 }
1134 return -1;
1135}
1136
1137int
1138crm_element_value_const_int(const xmlNode *data, const char *name, int *dest)

Callers 15

create_opFunction · 0.85
node_mcp_dispatchFunction · 0.85
cib_common_callbackFunction · 0.85
cib_process_requestFunction · 0.85
cib_process_commandFunction · 0.85
cib_peer_callbackFunction · 0.85
cibmon_diffFunction · 0.85
build_rsc_from_xmlFunction · 0.85
create_lrmd_cmdFunction · 0.85
send_generic_notifyFunction · 0.85

Calls 2

crm_element_valueFunction · 0.85
crm_int_helperFunction · 0.85

Tested by

no test coverage detected