pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
nvpair_internal.h File Reference
#include <stdbool.h>
#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)
 
void pcmk__unpack_nvpair_block (gpointer data, 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
@ pcmk__str_casei

Definition at line 56 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 582 of file nvpair.c.

◆ pcmk__unpack_nvpair_block()

void pcmk__unpack_nvpair_block ( gpointer data,
gpointer user_data )

Definition at line 445 of file nvpair.c.