#include <crm_internal.h>
#include <sys/param.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
#include <glib.h>
#include <crm/pengine/internal.h>
#include <pe_status_private.h>
Go to the source code of this file.
◆ cleanup_calculations()
Reset working set to default state without freeing it or constraints.
- Parameters
-
[in,out] | data_set | Working set to reset |
- Deprecated:
- This function is deprecated as part of the API; pe_reset_working_set() should be used instead.
Definition at line 269 of file status.c.
◆ cluster_status()
◆ pe_find_node()
◆ pe_find_node_any()
◆ pe_find_node_id()
◆ pe_find_resource()
◆ pe_find_resource_with_flags()
◆ pe_free_working_set()
Free a working set.
- Parameters
-
[in] | data_set | Working set to free |
Definition at line 50 of file status.c.
◆ pe_new_working_set()
Create a new working set.
- Returns
- New, initialized working set on success, else NULL (and set errno)
- Note
- Only pe_working_set_t objects created with this function (as opposed to statically declared or directly allocated) should be used with the functions in this library, to allow for future extensions to the data type. The caller is responsible for freeing the memory with pe_free_working_set() when the instance is no longer needed.
Definition at line 34 of file status.c.
◆ pe_reset_working_set()
Reset a working set to default state without freeing it.
- Parameters
-
[in,out] | data_set | Working set to reset |
Definition at line 328 of file status.c.
◆ set_working_set_defaults()