Go to the source code of this file.
◆ pcmk_parse_role()
enum rsc_role_e pcmk_parse_role |
( |
const char * |
role | ) |
|
Parse a resource role from a string role specification.
- Parameters
-
[in] | role | Role specification |
- Returns
- Resource role corresponding to
role
Definition at line 59 of file roles.c.
◆ pcmk_role_text()
const char* pcmk_role_text |
( |
enum rsc_role_e |
role | ) |
|
Get readable description of a resource role.
- Parameters
-
- Returns
- Static string describing
role
, suitable for logging or display
Definition at line 23 of file roles.c.