1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__COMMON_ACL__H
11 # define PCMK__COMMON_ACL__H
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17
18
19
20
21
22
23 # include <libxml/tree.h>
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