pacemaker 2.1.5-a3f44794f94
Scalable High-Availability cluster resource manager
nodes.c
Go to the documentation of this file.
1/*
2 * Copyright 2022 the Pacemaker project contributors
3 *
4 * The version control history for this file may have further details.
5 *
6 * This source code is licensed under the GNU Lesser General Public License
7 * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8 */
9
10#include <crm_internal.h>
11
12#include <crm/common/nvpair.h>
13
14void
15pcmk__xe_add_node(xmlNode *xml, const char *node, int nodeid)
16{
17 if (node != NULL) {
19 }
20
21 if (nodeid > 0) {
23 }
24}
#define PCMK__XA_ATTR_NODE_NAME
Definition: crm_internal.h:68
#define PCMK__XA_ATTR_NODE_ID
Definition: crm_internal.h:67
void pcmk__xe_add_node(xmlNode *xml, const char *node, int nodeid)
Definition: nodes.c:15
Functionality for manipulating name/value pairs.
const char * crm_xml_add_int(xmlNode *node, const char *name, int value)
Create an XML attribute with specified name and integer value.
Definition: nvpair.c:419
const char * crm_xml_add(xmlNode *node, const char *name, const char *value)
Create an XML attribute with specified name and value.
Definition: nvpair.c:323