pacemaker
2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
|
Low-level API for XML Access Control Lists (ACLs) More...
#include <libxml/tree.h>
#include <stdbool.h>
Go to the source code of this file.
Functions | |
bool | xml_acl_enabled (xmlNode *xml) |
void | xml_acl_disable (xmlNode *xml) |
bool | xml_acl_denied (xmlNode *xml) |
bool | xml_acl_filtered_copy (const char *user, xmlNode *acl_source, xmlNode *xml, xmlNode **result) |
Copy ACL-allowed portions of specified XML. More... | |
bool | pcmk_acl_required (const char *user) |
Check whether ACLs are required for a given user. More... | |
Low-level API for XML Access Control Lists (ACLs)
Definition in file acl.h.
bool pcmk_acl_required | ( | const char * | user | ) |
bool xml_acl_filtered_copy | ( | const char * | user, |
xmlNode * | acl_source, | ||
xmlNode * | xml, | ||
xmlNode ** | result | ||
) |
Copy ACL-allowed portions of specified XML.
[in] | user | Username whose ACLs should be used |
[in] | acl_source | XML containing ACLs |
[in] | xml | XML to be copied |
[out] | result | Copy of XML portions readable via ACLs |
result
rather than xml