pacemaker 2.1.5-a3f44794f94
Scalable High-Availability cluster resource manager
attrd_internal.h
Go to the documentation of this file.
1/*
2 * Copyright 2004-2022 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__ATTRD_INTERNAL__H
11# define PCMK__ATTRD_INTERNAL__H
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17// Options for clients to use with functions below
26};
27
28#define pcmk__set_node_attr_flags(node_attr_flags, flags_to_set) do { \
29 node_attr_flags = pcmk__set_flags_as(__func__, __LINE__, \
30 LOG_TRACE, "Node attribute", crm_system_name, \
31 (node_attr_flags), (flags_to_set), #flags_to_set); \
32 } while (0)
33
34#define pcmk__clear_node_attr_flags(node_attr_flags, flags_to_clear) do { \
35 node_attr_flags = pcmk__clear_flags_as(__func__, __LINE__, \
36 LOG_TRACE, "Node attribute", crm_system_name, \
37 (node_attr_flags), (flags_to_clear), #flags_to_clear); \
38 } while (0)
39
40const char *pcmk__node_attr_target(const char *name);
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif
const char * pcmk__node_attr_target(const char *name)
Definition: attrs.c:39
pcmk__node_attr_opts
@ pcmk__node_attr_remote
@ pcmk__node_attr_pattern
@ pcmk__node_attr_perm
@ pcmk__node_attr_delay
@ pcmk__node_attr_private
@ pcmk__node_attr_none
@ pcmk__node_attr_value
const char * name
Definition: cib.c:24