pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
util_compat.h
Go to the documentation of this file.
1 /*
2  * Copyright 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__CRM_CIB_UTIL_COMPAT__H
11 # define PCMK__CRM_CIB_UTIL_COMPAT__H
12 
13 #include <crm/common/xml.h>
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
27 const char *get_object_path(const char *object_type);
29 
31 const char *get_object_parent(const char *object_type);
32 
34 xmlNode *get_object_root(const char *object_type, xmlNode *the_root);
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 #endif // PCMK__CRM_CIB_UTIL_COMPAT__H
const char * get_object_path(const char *object_type)
Definition: cib_utils.c:772
Wrappers for and extensions to libxml2.
xmlNode * get_object_root(const char *object_type, xmlNode *the_root)
Definition: cib_utils.c:784
const char * get_object_parent(const char *object_type)
Definition: cib_utils.c:778