Add a metadata call to the executor API and let the server handle this.
Global pcmk__request_fencing (stonith_t *st, const char *target, const char *action, const char *name, unsigned int timeout, unsigned int tolerance, int delay, char **reason)
delay is eventually used with g_timeout_add() and should be guint
Global pcmk_poll_ipc (pcmk_ipc_api_t *api, int timeout_ms)
This does not allow the caller to poll multiple file descriptors at once. If there is demand for that, we could add a wrapper for crm_ipc_get_fd(api->ipc), so the caller can call poll() themselves.