pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
msg_xml_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_MSG_XML_COMPAT__H
11 #define PCMK__CRM_MSG_XML_COMPAT__H
12 
13 #include <crm/common/xml.h> // PCMK_XE_CIB
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
28 // NOTE: sbd (as of at least 1.5.2) uses this
30 #define XML_TAG_CIB PCMK_XE_CIB
31 
32 // NOTE: sbd (as of at least 1.5.2) uses this
34 #define XML_CIB_TAG_STATE "node_state"
35 
36 // NOTE: sbd (as of at least 1.5.2) uses this
38 #define XML_TAG_TRANSIENT_NODEATTRS "transient_attributes"
39 
40 // NOTE: sbd (as of at least 1.5.2) uses this
42 #define XML_TAG_ATTR_SETS PCMK_XE_INSTANCE_ATTRIBUTES
43 
44 // NOTE: sbd (as of at least 1.5.2) uses this
46 #define XML_CIB_TAG_NVPAIR PCMK_XE_NVPAIR
47 
48 // NOTE: sbd (as of at least 1.5.2) uses this
50 #define XML_CIB_ATTR_SHUTDOWN "shutdown"
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif // PCMK__CRM_MSG_XML_COMPAT__H
Wrappers for and extensions to libxml2.