pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
xml_element_compat.h
Go to the documentation of this file.
1/*
2 * Copyright 2004-2024 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#ifndef PCMK__CRM_COMMON_XML_ELEMENT_COMPAT__H
11#define PCMK__CRM_COMMON_XML_ELEMENT_COMPAT__H
12
13#include <glib.h> // gboolean
14#include <libxml/tree.h> // xmlNode
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
30xmlNode *expand_idref(xmlNode *input, xmlNode *top);
31
33void crm_xml_set_id(xmlNode *xml, const char *format, ...) G_GNUC_PRINTF(2, 3);
34
36xmlNode *sorted_xml(xmlNode *input, xmlNode *parent, gboolean recursive);
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif // PCMK__CRM_COMMON_XML_ELEMENT_COMPAT__H
const char * parent
Definition cib.c:27
xmlNode * input
xmlNode * expand_idref(xmlNode *input, xmlNode *top)
void xmlNode * sorted_xml(xmlNode *input, xmlNode *parent, gboolean recursive)
void crm_xml_set_id(xmlNode *xml, const char *format,...) G_GNUC_PRINTF(2