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

Function attach_cib_generation

cib/notify.c:289–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289void
290attach_cib_generation(xmlNode * msg, const char *field, xmlNode * a_cib)
291{
292 xmlNode *generation = create_xml_node(NULL, XML_CIB_TAG_GENERATION_TUPPLE);
293
294 if (a_cib != NULL) {
295 copy_in_properties(generation, a_cib);
296 }
297 add_message_xml(msg, field, generation);
298 free_xml(generation);
299}
300
301void
302cib_replace_notify(const char *origin, xmlNode * update, int result, xmlNode * diff)

Callers 3

cib_pre_notifyFunction · 0.85
do_cib_notifyFunction · 0.85
cib_replace_notifyFunction · 0.85

Calls 4

create_xml_nodeFunction · 0.85
copy_in_propertiesFunction · 0.85
add_message_xmlFunction · 0.85
free_xmlFunction · 0.85

Tested by

no test coverage detected