![]() |
pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
|


Go to the source code of this file.
Functions | |
| svc_action_t * | services__create_resource_action (const char *name, const char *standard, const char *provider, const char *agent, const char *action, guint interval_ms, int timeout, GHashTable *params, enum svc_action_flags flags) |
| Create a new resource action. | |
| const char * | services__exit_reason (const svc_action_t *action) |
| char * | services__grab_stdout (svc_action_t *action) |
| char * | services__grab_stderr (svc_action_t *action) |
| void | services__set_result (svc_action_t *action, int agent_status, enum pcmk_exec_status exec_status, const char *exit_reason) |
| void | services__copy_result (const svc_action_t *action, pcmk__action_result_t *result) |
| void | services__format_result (svc_action_t *action, int agent_status, enum pcmk_exec_status exec_status, const char *format,...) G_GNUC_PRINTF(4 |
| void services__copy_result | ( | const svc_action_t * | action, |
| pcmk__action_result_t * | result ) |
Definition at line 1243 of file services.c.
| svc_action_t * services__create_resource_action | ( | const char * | name, |
| const char * | standard, | ||
| const char * | provider, | ||
| const char * | agent, | ||
| const char * | action, | ||
| guint | interval_ms, | ||
| int | timeout, | ||
| GHashTable * | params, | ||
| enum svc_action_flags | flags ) |
Create a new resource action.
| [in] | name | Name of resource |
| [in] | standard | Resource agent standard |
| [in] | provider | Resource agent provider |
| [in] | agent | Resource agent name |
| [in] | action | Name of action |
| [in] | interval_ms | How often to repeat action (if 0, execute once) |
| [in] | timeout | Error if not complete within this time (ms) |
| [in,out] | params | Action parameters |
| [in] | flags | Group of enum svc_action_flags |
params. Definition at line 255 of file services.c.
| const char * services__exit_reason | ( | const svc_action_t * | action | ) |
Definition at line 1337 of file services.c.
| void services__format_result | ( | svc_action_t * | action, |
| int | agent_status, | ||
| enum pcmk_exec_status | exec_status, | ||
| const char * | format, | ||
| ... ) |
| char * services__grab_stderr | ( | svc_action_t * | action | ) |
Definition at line 1372 of file services.c.
| char * services__grab_stdout | ( | svc_action_t * | action | ) |
Definition at line 1353 of file services.c.
| void services__set_result | ( | svc_action_t * | action, |
| int | agent_status, | ||
| enum pcmk_exec_status | exec_status, | ||
| const char * | exit_reason ) |
Definition at line 1218 of file services.c.