pacemaker 2.1.5-a3f44794f94
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
15extern "C" {
16#endif
17
28const char *get_object_path(const char *object_type);
29
31const char *get_object_parent(const char *object_type);
32
34xmlNode *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:776
const char * get_object_parent(const char *object_type)
Definition: cib_utils.c:782
xmlNode * get_object_root(const char *object_type, xmlNode *the_root)
Definition: cib_utils.c:788
Wrappers for and extensions to libxml2.