pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xml_compat.h
Go to the documentation of this file.
1 /*
2  * Copyright 2004-2021 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__COMMON_XML_COMPAT__H
11 # define PCMK__COMMON_XML_COMPAT__H
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
26 xmlNode *find_entity(xmlNode *parent, const char *node_name, const char *id);
28 
30 gboolean apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml);
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif // PCMK__COMMON_XML_COMPAT__H
gboolean apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml)
Definition: patchset.c:1651
xmlNode * find_entity(xmlNode *parent, const char *node_name, const char *id)
Definition: xml.c:2985