1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__CRM_COMMON_ACL__H
11 #define PCMK__CRM_COMMON_ACL__H
12
13 #include <libxml/tree.h>
14 #include <stdbool.h>
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20
21
22
23
24
25
26 bool xml_acl_enabled(const xmlNode *xml);
27 void xml_acl_disable(xmlNode *xml);
28 bool xml_acl_denied(const xmlNode *xml);
29 bool xml_acl_filtered_copy(const char *user, xmlNode* acl_source, xmlNode *xml,
30 xmlNode **result);
31
32 bool pcmk_acl_required(const char *user);
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38 #endif