Page MenuHomeClusterLabs Projects

nvpair_compat.h
No OneTemporary

nvpair_compat.h

/*
* Copyright 2004-2024 the Pacemaker project contributors
*
* The version control history for this file may have further details.
*
* This source code is licensed under the GNU Lesser General Public License
* version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
*/
#ifndef PCMK__CRM_COMMON_NVPAIR_COMPAT__H
#define PCMK__CRM_COMMON_NVPAIR_COMPAT__H
#include <glib.h> // GSList, gpointer
#include <libxml/tree.h> // xmlNode
#ifdef __cplusplus
extern "C" {
#endif
/**
* \file
* \brief Deprecated Pacemaker name-value pair API
* \ingroup core
* \deprecated Do not include this header directly. The nvpair APIs in this
* header, and the header itself, will be removed in a future
* release.
*/
//! \deprecated Do not use
GSList *pcmk_sort_nvpairs(GSList *list);
//! \deprecated Do not use
GSList *pcmk_xml_attrs2nvpairs(const xmlNode *xml);
//! \deprecated Do not use
void pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml);
//! \deprecated Do not use
void hash2nvpair(gpointer key, gpointer value, gpointer user_data);
#ifdef __cplusplus
}
#endif
#endif // PCMK__CRM_COMMON_NVPAIR_COMPAT__H

File Metadata

Mime Type
text/x-c
Expires
Thu, Jul 10, 3:01 AM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2009839
Default Alt Text
nvpair_compat.h (1 KB)

Event Timeline