pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
Data Structures | Macros | Typedefs | Functions
nvpair_internal.h File Reference
#include <glib.h>
#include <libxml/tree.h>
#include <crm/common/rules.h>
#include <crm/common/iso8601.h>
#include <crm/common/strings_internal.h>
Include dependency graph for nvpair_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  unpack_data_s
 

Macros

#define pcmk__insert_meta(obj, name, value)
 

Typedefs

typedef struct unpack_data_s pcmk__nvpair_unpack_t
 

Functions

gint pcmk__cmp_nvpair_blocks (gconstpointer a, gconstpointer b, gpointer user_data)
 

Macro Definition Documentation

◆ pcmk__insert_meta

#define pcmk__insert_meta (   obj,
  name,
  value 
)
Value:
do { \
if (pcmk__str_eq((value), "#default", pcmk__str_casei)) { \
/* @COMPAT Deprecated since 2.1.8 */ \
pcmk__config_warn("Support for setting meta-attributes " \
"(such as %s) to the explicit value " \
"'#default' is deprecated and will be " \
"removed in a future release", (name)); \
} else if ((value) != NULL) { \
pcmk__insert_dup((obj)->meta, (name), (value)); \
} \
} while (0)
const char * name
Definition: cib.c:26

Definition at line 54 of file nvpair_internal.h.

Typedef Documentation

◆ pcmk__nvpair_unpack_t

Function Documentation

◆ pcmk__cmp_nvpair_blocks()

gint pcmk__cmp_nvpair_blocks ( gconstpointer  a,
gconstpointer  b,
gpointer  user_data 
)

Definition at line 464 of file nvpair.c.