pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
Macros | Functions
digest.c File Reference
#include <crm_internal.h>
#include <stdbool.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <glib.h>
#include <gnutls/crypto.h>
#include <gnutls/gnutls.h>
#include <crm/crm.h>
#include <crm/common/xml.h>
#include "crmcommon_private.h"
#include <crm/common/xml_compat.h>
#include <crm/common/xml_element_compat.h>
Include dependency graph for digest.c:

Go to the source code of this file.

Macros

#define BEST_EFFORT_STATUS   0
 

Functions

char * pcmk__digest_on_disk_cib (xmlNode *input)
 
char * pcmk__digest_operation (xmlNode *input)
 
char * pcmk__digest_xml (xmlNode *xml, bool filter)
 
bool pcmk__verify_digest (xmlNode *input, const char *expected)
 
bool pcmk__xa_filterable (const char *name)
 
char * crm_md5sum (const char *buffer)
 
void pcmk__filter_op_for_digest (xmlNode *param_set)
 
char * calculate_on_disk_digest (xmlNode *input)
 
char * calculate_operation_digest (xmlNode *input, const char *version)
 
char * calculate_xml_versioned_digest (xmlNode *input, gboolean sort, gboolean do_filter, const char *version)
 

Macro Definition Documentation

◆ BEST_EFFORT_STATUS

#define BEST_EFFORT_STATUS   0

Definition at line 26 of file digest.c.

Function Documentation

◆ calculate_on_disk_digest()

char* calculate_on_disk_digest ( xmlNode *  input)
Deprecated:
Do not use

Definition at line 341 of file digest.c.

◆ calculate_operation_digest()

char* calculate_operation_digest ( xmlNode *  input,
const char *  version 
)
Deprecated:
Do not use

Definition at line 347 of file digest.c.

◆ calculate_xml_versioned_digest()

char* calculate_xml_versioned_digest ( xmlNode *  input,
gboolean  sort,
gboolean  do_filter,
const char *  version 
)
Deprecated:
Do not use

Definition at line 357 of file digest.c.

◆ crm_md5sum()

char* crm_md5sum ( const char *  buffer)

Definition at line 251 of file digest.c.

◆ pcmk__digest_on_disk_cib()

char* pcmk__digest_on_disk_cib ( xmlNode *  input)

Definition at line 110 of file digest.c.

◆ pcmk__digest_operation()

char* pcmk__digest_operation ( xmlNode *  input)

Definition at line 133 of file digest.c.

◆ pcmk__digest_xml()

char* pcmk__digest_xml ( xmlNode *  xml,
bool  filter 
)

Definition at line 160 of file digest.c.

◆ pcmk__filter_op_for_digest()

void pcmk__filter_op_for_digest ( xmlNode *  param_set)

Definition at line 299 of file digest.c.

◆ pcmk__verify_digest()

bool pcmk__verify_digest ( xmlNode *  input,
const char *  expected 
)

Definition at line 200 of file digest.c.

◆ pcmk__xa_filterable()

bool pcmk__xa_filterable ( const char *  name)

Definition at line 232 of file digest.c.