10 #ifndef PCMK__SERVICES_INTERNAL__H 11 # define PCMK__SERVICES_INTERNAL__H 37 const char *provider,
const char *agent,
38 const char *
action, guint interval_ms,
39 int timeout , GHashTable *params,
48 const char *exit_reason);
52 const char *format, ...) G_GNUC_PRINTF(4, 5);
const char * services__exit_reason(svc_action_t *action)
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)
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.