xmlSetProp(cib_req, XML_CIB_ATTR_OP       , action); xmlSetProp(cib_req, XML_ATTR_VERBOSE      , verbose); xmlSetProp(cib_req, XML_CIB_ATTR_SECTION  , section_name);
set_xml_property_copy(cib_req, XML_CIB_ATTR_OP       , action); set_xml_property_copy(cib_req, XML_ATTR_VERBOSE      , verbose); set_xml_property_copy(cib_req, XML_CIB_ATTR_SECTION  , section_name);
wrapUpdate(xmlNodePtr update, const char *section_name, const char *action){    // create the cib request    xmlNodePtr cib_req = xmlNewNode(NULL, XML_REQ_TAG_CIB);     xmlSetProp(cib_req, XML_CIB_ATTR_OP       , action);    xmlSetProp(cib_req, XML_ATTR_VERBOSE      , verbose);    xmlSetProp(cib_req, XML_CIB_ATTR_SECTION  , section_name);    // create the update section    xmlNodePtr fragment = xmlNewChild(cib_req, NULL, XML_CIB_TAG_FRAGMENT, NULL);    xmlSetProp(fragment, XML_CIB_ATTR_SECTION, section_name);    xmlNodePtr cib = xmlNewChild(fragment, NULL, XML_TAG_CIB, NULL);    xmlNodePtr section = xmlNewChild(cib, NULL, pluralSection(), NULL);    xmlAddChild(section, update);    // create the real request    xmlNodePtr request = xmlNewNode(NULL, XML_REQ_TAG_DC);    xmlSetProp(request, XML_DC_ATTR_OP, "cib_op");    xmlSetProp(request, XML_ATTR_TIMEOUT, "0");    xmlAddChild(request, cib_req);    /*   // create the real message *//*     xmlNodePtr xml_xml_root_node = createCrmMsg(msg_reference, "admin", "dc", request, TRUE); *//*     const char *local_reference = xmlGetProp(xml_xml_root_node, XML_MSG_ATTR_REFERENCE); *//*     xmlSetProp(request, XML_MSG_ATTR_REFERENCE, local_reference); *//*     xmlSetProp(cib_req, XML_MSG_ATTR_REFERENCE, local_reference); */    return request;}