pacemaker
2.0.4-2deceaa3ae
Scalable High-Availability cluster resource manager
include
crm
common
acl.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 PCMK__COMMON_ACL__H
11
# define PCMK__COMMON_ACL__H
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
23
# include <libxml/tree.h>
// xmlNode
24
25
bool
xml_acl_enabled
(xmlNode *xml);
26
void
xml_acl_disable
(xmlNode *xml);
27
bool
xml_acl_denied
(xmlNode *xml);
28
bool
xml_acl_filtered_copy
(
const
char
*user, xmlNode* acl_source, xmlNode *xml,
29
xmlNode **result);
30
31
bool
pcmk_acl_required
(
const
char
*user);
32
33
#ifdef __cplusplus
34
}
35
#endif
36
37
#endif // PCMK__COMMON_ACL__H
xml_acl_enabled
bool xml_acl_enabled(xmlNode *xml)
Definition:
acl.c:624
xml_acl_denied
bool xml_acl_denied(xmlNode *xml)
Definition:
acl.c:600
pcmk_acl_required
bool pcmk_acl_required(const char *user)
Check whether ACLs are required for a given user.
Definition:
acl.c:708
xml_acl_disable
void xml_acl_disable(xmlNode *xml)
Definition:
acl.c:611
xml_acl_filtered_copy
bool xml_acl_filtered_copy(const char *user, xmlNode *acl_source, xmlNode *xml, xmlNode **result)
Definition:
acl.c:437
Generated on Mon Jun 22 2020 16:08:57 for pacemaker by
1.8.17