pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
probes.h
Go to the documentation of this file.
1/*
2 * Copyright 2024 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_PROBES__H
11#define PCMK__CRM_COMMON_PROBES__H
12
13#include <stdbool.h> // bool
14#include <glib.h> // guint
15#include <libxml/tree.h> // xmlNode
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
27bool pcmk_is_probe(const char *task, guint interval);
28bool pcmk_xe_is_probe(const xmlNode *xml_op);
29bool pcmk_xe_mask_probe_failure(const xmlNode *xml_op);
30
31#ifdef __cplusplus
32}
33#endif
34
35#endif // PCMK__CRM_COMMON_PROBES__H
bool pcmk_xe_mask_probe_failure(const xmlNode *xml_op)
Check whether an action history entry represents a maskable probe.
Definition probes.c:70
bool pcmk_is_probe(const char *task, guint interval)
Check whether an action name and interval represent a probe.
Definition probes.c:31
bool pcmk_xe_is_probe(const xmlNode *xml_op)
Check whether an action history entry represents a probe.
Definition probes.c:46