10 #ifndef PCMK__CRM_SERVICES_INTERNAL__H 11 #define PCMK__CRM_SERVICES_INTERNAL__H 45 int timeout, GHashTable *params,
54 const char *exit_reason);
58 const char *format, ...) G_GNUC_PRINTF(4, 5);
64 #endif // PCMK__CRM_SERVICES_INTERNAL__H
void services__format_result(svc_action_t *action, int agent_status, enum pcmk_exec_status exec_status, const char *format,...) G_GNUC_PRINTF(4
char * services__grab_stderr(svc_action_t *action)
const char * services__exit_reason(const svc_action_t *action)
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.
Object for executing external actions.
char * services__grab_stdout(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)
pcmk_exec_status
Execution status.