10 #ifndef PCMK__CRM_COMMON_NVPAIR_INTERNAL__H 11 #define PCMK__CRM_COMMON_NVPAIR_INTERNAL__H 14 #include <libxml/tree.h> 45 #define pcmk__insert_meta(obj, name, value) do { \ 46 if (pcmk__str_eq((value), "#default", pcmk__str_casei)) { \ 48 pcmk__config_warn("Support for setting meta-attributes " \ 49 "(such as %s) to the explicit value " \ 50 "'#default' is deprecated and will be " \ 51 "removed in a future release", (name)); \ 52 } else if ((value) != NULL) { \ 53 pcmk__insert_dup((obj)->meta, (name), (value)); \ 59 uint32_t default_value);
65 #endif // PCMK__CRM_COMMON_NVPAIR_INTERNAL__H
int pcmk__xe_get_datetime(const xmlNode *xml, const char *attr, crm_time_t **t)
struct crm_time_s crm_time_t
pcmk_rule_input_t rule_input
int pcmk__xe_get_flags(const xmlNode *xml, const char *name, uint32_t *dest, uint32_t default_value)
Retrieve a flag group from an XML attribute value.
struct unpack_data_s pcmk__nvpair_unpack_t