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

Function cib_prepare_data

cib/common.c:87–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87static int
88cib_prepare_data(xmlNode * request, xmlNode ** data, const char **section)
89{
90 xmlNode *input_fragment = get_message_xml(request, F_CIB_CALLDATA);
91
92 *section = crm_element_value(request, F_CIB_SECTION);
93 *data = cib_prepare_common(input_fragment, *section);
94 /* crm_log_xml_debug(*data, "data"); */
95 return pcmk_ok;
96}
97
98static int
99cib_prepare_sync(xmlNode * request, xmlNode ** data, const char **section)

Callers

nothing calls this directly

Calls 3

get_message_xmlFunction · 0.85
crm_element_valueFunction · 0.85
cib_prepare_commonFunction · 0.85

Tested by

no test coverage detected