pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
attrd_internal.h
Go to the documentation of this file.
1 /*
2  * Copyright 2004-2020 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 CRM_ATTRD__H
11 # define CRM_ATTRD__H
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 # include <crm/common/ipc.h>
18 
19 // Options for clients to use with functions below
24 };
25 
26 int pcmk__node_attr_request(crm_ipc_t * ipc, char command, const char *host,
27  const char *name, const char *value,
28  const char *section, const char *set,
29  const char *dampen, const char *user_name,
30  int options);
31 
32 int pcmk__node_attr_request_clear(crm_ipc_t *ipc, const char *host,
33  const char *resource, const char *operation,
34  const char *interval_spec,
35  const char *user_name, int options);
36 
37 const char *pcmk__node_attr_target(const char *name);
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif
const char * pcmk__node_attr_target(const char *name)
Definition: attrd_client.c:281
AIS_Host host
Definition: internal.h:84
int pcmk__node_attr_request(crm_ipc_t *ipc, char command, const char *host, const char *name, const char *value, const char *section, const char *set, const char *dampen, const char *user_name, int options)
Definition: attrd_client.c:135
struct crm_ipc_s crm_ipc_t
Definition: ipc.h:58
int pcmk__node_attr_request_clear(crm_ipc_t *ipc, const char *host, const char *resource, const char *operation, const char *interval_spec, const char *user_name, int options)
Definition: attrd_client.c:241
pcmk__node_attr_opts
Wrappers for and extensions to libqb IPC.
char * name
Definition: pcmk_fence.c:30