Add a metadata call to the executor API and let the server handle this.
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.
timeout is currently ignored; shouldn't we use it?
Global stonith_api_operations_s::register_callback )(stonith_t *st, int call_id, int timeout, int options, void *userdata, const char *callback_name, void(*callback)(stonith_t *st, stonith_callback_data_t *data))
This function should return pcmk_ok on success, and call_id when negative, but that would break backward compatibility.
Generated on Tue Jun 8 2021 12:27:48 for pacemaker by 1.8.5