#include <stdbool.h>
#include <glib.h>
#include <libxml/tree.h>
#include <crm/common/actions.h>
#include <crm/common/strings_internal.h>
Go to the source code of this file.
|
#define | PCMK__OP_FMT "%s_%s_%u" |
| printf-style format to create operation key from resource, action, interval More...
|
|
◆ PCMK__OP_FMT
#define PCMK__OP_FMT "%s_%s_%u" |
printf-style format to create operation key from resource, action, interval
Definition at line 25 of file actions_internal.h.
◆ pcmk__filter_op_for_digest()
void pcmk__filter_op_for_digest |
( |
xmlNode * |
param_set | ) |
|
◆ pcmk__is_fencing_action()
bool pcmk__is_fencing_action |
( |
const char * |
action | ) |
|
◆ pcmk__notify_key()
char* pcmk__notify_key |
( |
const char * |
rsc_id, |
|
|
const char * |
notify_type, |
|
|
const char * |
op_type |
|
) |
| |
◆ pcmk__op_key()
char* pcmk__op_key |
( |
const char * |
rsc_id, |
|
|
const char * |
op_type, |
|
|
guint |
interval_ms |
|
) |
| |
Generate an operation key (RESOURCE_ACTION_INTERVAL)
- Parameters
-
[in] | rsc_id | ID of resource being operated on |
[in] | op_type | Operation name |
[in] | interval_ms | Operation interval |
- Returns
- Newly allocated memory containing operation key as string
- Note
- This function asserts on errors, so it will never return NULL. The caller is responsible for freeing the result with free().
Definition at line 42 of file actions.c.
◆ pcmk__transition_key()
char* pcmk__transition_key |
( |
int |
transition_id, |
|
|
int |
action_id, |
|
|
int |
target_rc, |
|
|
const char * |
node |
|
) |
| |