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

Function crm_attr_value

lib/common/xml.c:147–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145int add_xml_object(xmlNode *parent, xmlNode *target, xmlNode *update, gboolean as_diff);
146
147static inline const char *
148crm_attr_value(xmlAttr *attr)
149{
150 if(attr == NULL || attr->children == NULL) {
151 return NULL;
152 }
153 return (const char*)attr->children->content;
154}
155
156static inline xmlAttr *
157crm_first_attr(xmlNode *xml)

Callers 10

copy_in_propertiesFunction · 0.85
fix_plus_plus_recursiveFunction · 0.85
log_data_elementFunction · 0.85
diff_filter_contextFunction · 0.85
subtract_xml_objectFunction · 0.85
add_xml_objectFunction · 0.85
replace_xml_childFunction · 0.85
xml2listFunction · 0.85
sorted_xmlFunction · 0.85
calculate_xml_digest_v2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected