#include <crm_internal.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <md5.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
#include "crmcommon_private.h"
Go to the source code of this file.
◆ BEST_EFFORT_STATUS
#define BEST_EFFORT_STATUS 0 |
◆ calculate_on_disk_digest()
char* calculate_on_disk_digest |
( |
xmlNode * |
input | ) |
|
Calculate and return digest of XML tree, suitable for storing on disk.
- Parameters
-
[in] | input | Root of XML to digest |
- Returns
- Newly allocated string containing digest
Definition at line 131 of file digest.c.
◆ calculate_operation_digest()
char* calculate_operation_digest |
( |
xmlNode * |
input, |
|
|
const char * |
version |
|
) |
| |
Calculate and return digest of XML operation.
- Parameters
-
[in] | input | Root of XML to digest |
[in] | version | Unused |
- Returns
- Newly allocated string containing digest
Definition at line 150 of file digest.c.
◆ calculate_xml_versioned_digest()
char* calculate_xml_versioned_digest |
( |
xmlNode * |
input, |
|
|
gboolean |
sort, |
|
|
gboolean |
do_filter, |
|
|
const char * |
version |
|
) |
| |
Calculate and return digest of XML tree.
- Parameters
-
[in] | input | Root of XML to digest |
[in] | sort | Whether to sort XML before calculating digest |
[in] | do_filter | Whether to filter certain XML attributes |
[in] | version | CRM feature set version (used to select v1/v2 digest) |
- Returns
- Newly allocated string containing digest
Definition at line 167 of file digest.c.
◆ crm_md5sum()
char* crm_md5sum |
( |
const char * |
buffer | ) |
|
◆ pcmk__verify_digest()
bool pcmk__verify_digest |
( |
xmlNode * |
input, |
|
|
const char * |
expected |
|
) |
| |
◆ pcmk__xa_filterable()
bool pcmk__xa_filterable |
( |
const char * |
name | ) |
|