pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
nvpair_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_NVPAIR_COMPAT__H
11#define PCMK__CRM_COMMON_NVPAIR_COMPAT__H
12
13#include <glib.h> // GSList, gpointer
14#include <libxml/tree.h> // xmlNode
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
30GSList *pcmk_sort_nvpairs(GSList *list);
31
33GSList *pcmk_xml_attrs2nvpairs(const xmlNode *xml);
34
36void pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml);
37
39void hash2nvpair(gpointer key, gpointer value, gpointer user_data);
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif // PCMK__CRM_COMMON_NVPAIR_COMPAT__H
void hash2nvpair(gpointer key, gpointer value, gpointer user_data)
Definition nvpair.c:717
GSList * pcmk_sort_nvpairs(GSList *list)
Definition nvpair.c:681
void pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml)
Definition nvpair.c:711
GSList * pcmk_xml_attrs2nvpairs(const xmlNode *xml)
Definition nvpair.c:687