8 #ifndef CRMCOMMON_PRIVATE__H
9 # define CRMCOMMON_PRIVATE__H
53 int offset,
size_t buffer_size);
74 static inline xmlAttr *
75 pcmk__first_xml_attr(
const xmlNode *xml)
77 return xml? xml->properties : NULL;
80 static inline const char *
81 pcmk__xml_attr_value(
const xmlAttr *attr)
83 return ((attr == NULL) || (attr->children == NULL))? NULL
84 : (
const char *) attr->children->content;
87 #endif // CRMCOMMON_PRIVATE__H
void pcmk__free_acls(GList *acls)
G_GNUC_INTERNAL int pcmk__element_xpath(const char *prefix, xmlNode *xml, char *buffer, int offset, size_t buffer_size)
G_GNUC_INTERNAL void pcmk__mark_xml_attr_dirty(xmlAttr *a)
void pcmk__post_process_acl(xmlNode *xml)
bool pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode)
G_GNUC_INTERNAL void pcmk__set_xml_flag(xmlNode *xml, enum xml_private_flags flag)
void pcmk__unpack_acl(xmlNode *source, xmlNode *target, const char *user)
void pcmk__apply_acl(xmlNode *xml)
struct xml_private_s xml_private_t
G_GNUC_INTERNAL bool pcmk__tracking_xml_changes(xmlNode *xml, bool lazy)