const char * crm_xml_add_int(xmlNode *node, const char *name, int value)
Create an XML attribute with specified name and integer value.
const char * crm_xml_add(xmlNode *node, const char *name, const char *value)
Create an XML attribute with specified name and value.
#define PCMK__XA_ATTR_NODE_ID
void pcmk__xe_add_node(xmlNode *xml, const char *node, int nodeid)
Functionality for manipulating name/value pairs.
#define PCMK__XA_ATTR_NODE_NAME