pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
|
#include <crm/common/xml.h>
Go to the source code of this file.
Macros | |
#define | PCMK__COMPAT_ACL_2_MIN_INCL "pacemaker-2.0" |
Enumerations | |
enum | pcmk__acl_render_how { pcmk__acl_render_none = 0, pcmk__acl_render_namespace, pcmk__acl_render_text, pcmk__acl_render_color, pcmk__acl_render_default } |
Functions | |
int | pcmk__acl_annotate_permissions (const char *cred, const xmlDoc *cib_doc, xmlDoc **acl_evaled_doc) |
Annotate CIB with XML namespaces indicating ACL evaluation results. More... | |
int | pcmk__acl_evaled_render (xmlDoc *annotated_doc, enum pcmk__acl_render_how, xmlChar **doc_txt_ptr) |
#define PCMK__COMPAT_ACL_2_MIN_INCL "pacemaker-2.0" |
Definition at line 24 of file pcmki_acl.h.
enum pcmk__acl_render_how |
Enumerator | |
---|---|
pcmk__acl_render_none | |
pcmk__acl_render_namespace | |
pcmk__acl_render_text | |
pcmk__acl_render_color | |
pcmk__acl_render_default |
Definition at line 15 of file pcmki_acl.h.
int pcmk__acl_annotate_permissions | ( | const char * | cred, |
const xmlDoc * | cib_doc, | ||
xmlDoc ** | acl_evaled_doc | ||
) |
Annotate CIB with XML namespaces indicating ACL evaluation results.
[in] | cred | Credential whose ACL perspective to switch to |
[in] | cib_doc | CIB XML to annotate |
[out] | acl_evaled_doc | Where to store annotated CIB XML |
Definition at line 204 of file pcmk_acl.c.
int pcmk__acl_evaled_render | ( | xmlDoc * | annotated_doc, |
enum | pcmk__acl_render_how, | ||
xmlChar ** | doc_txt_ptr | ||
) |
Definition at line 263 of file pcmk_acl.c.