#include <crm_internal.h>
#include <stdio.h>
#include <stdbool.h>
#include <glib.h>
#include <libxml/tree.h>
#include <crm/common/options.h>
#include <crm/common/xml.h>
Go to the source code of this file.
◆ pcmk_is_probe()
bool pcmk_is_probe |
( |
const char * |
task, |
|
|
guint |
interval_ms |
|
) |
| |
Check whether an action name and interval represent a probe.
- Parameters
-
[in] | task | Action name |
[in] | interval_ms | Action interval in milliseconds |
- Returns
- true if
task
is PCMK_ACTION_MONITOR
and interval_ms
is 0, otherwise false
Definition at line 30 of file probes.c.
◆ pcmk_xe_is_probe()
bool pcmk_xe_is_probe |
( |
const xmlNode * |
xml | ) |
|
Check whether an action history entry represents a probe.
- Parameters
-
[in] | xml | XML of action history entry |
- Returns
- true if
xml
is for a probe action, otherwise false
Definition at line 45 of file probes.c.
◆ pcmk_xe_mask_probe_failure()
bool pcmk_xe_mask_probe_failure |
( |
const xmlNode * |
xml | ) |
|
Check whether an action history entry represents a maskable probe.
- Parameters
-
[in] | xml | XML of action history entry |
- Returns
- true if
xml
is for a failed probe action that should be treated as successful, otherwise false
Definition at line 69 of file probes.c.