pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
include
crm
common
digests_internal.h
Go to the documentation of this file.
1
/*
2
* Copyright 2004-2023 the Pacemaker project contributors
3
*
4
* The version control history for this file may have further details.
5
*
6
* This source code is licensed under the GNU Lesser General Public License
7
* version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8
*/
9
10
#ifndef PCMK__CRM_COMMON_DIGESTS_INTERNAL__H
11
# define PCMK__CRM_COMMON_DIGESTS_INTERNAL__H
12
13
#include <libxml/tree.h>
// xmlNode
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
19
// Digest comparison results
20
enum
pcmk__digest_result
{
21
pcmk__digest_unknown
,
// No digest available for comparison
22
pcmk__digest_match
,
// Digests match
23
pcmk__digest_mismatch
,
// Any parameter changed (potentially reloadable)
24
pcmk__digest_restart
,
// Parameters that require a restart changed
25
};
26
27
bool
pcmk__verify_digest
(xmlNode *
input
,
const
char
*expected);
28
29
#ifdef __cplusplus
30
}
31
#endif
32
33
#endif // PCMK__CRM_COMMON_DIGESTS_INTERNAL__H
pcmk__digest_mismatch
Definition:
digests_internal.h:23
pcmk__digest_result
pcmk__digest_result
Definition:
digests_internal.h:20
pcmk__digest_match
Definition:
digests_internal.h:22
pcmk__digest_unknown
Definition:
digests_internal.h:21
input
xmlNode * input
Definition:
native_find_rsc_test.c:18
pcmk__verify_digest
bool pcmk__verify_digest(xmlNode *input, const char *expected)
Definition:
digest.c:202
pcmk__digest_restart
Definition:
digests_internal.h:24
Generated on Tue Dec 19 2023 17:32:56 for pacemaker by
1.8.14