pacemaker
2.1.9-49aab99839
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdint.h>
#include <errno.h>
#include <glib.h>
#include <libxml/tree.h>
#include <crm/common/scheduler.h>
Go to the source code of this file.
Functions | |
pcmk_node_t * | pcmk_get_dc (const pcmk_scheduler_t *scheduler) |
enum pe_quorum_policy | pcmk_get_no_quorum_policy (const pcmk_scheduler_t *scheduler) |
int | pcmk_set_scheduler_cib (pcmk_scheduler_t *scheduler, xmlNode *cib) |
bool | pcmk_has_quorum (const pcmk_scheduler_t *scheduler) |
pcmk_node_t * | pcmk_find_node (const pcmk_scheduler_t *scheduler, const char *node_name) |
Find a node by name in scheduler data. More... | |
Variables | |
uint32_t | pcmk__warnings = 0 |
gboolean | was_processing_error = FALSE |
gboolean | was_processing_warning = FALSE |
pcmk_node_t* pcmk_find_node | ( | const pcmk_scheduler_t * | scheduler, |
const char * | node_name | ||
) |
Find a node by name in scheduler data.
[in] | scheduler | Scheduler data |
[in] | node_name | Name of node to find |
node_name
if any, otherwise NULL Definition at line 103 of file scheduler.c.
pcmk_node_t* pcmk_get_dc | ( | const pcmk_scheduler_t * | scheduler | ) |
Definition at line 33 of file scheduler.c.
enum pe_quorum_policy pcmk_get_no_quorum_policy | ( | const pcmk_scheduler_t * | scheduler | ) |
Definition at line 47 of file scheduler.c.
bool pcmk_has_quorum | ( | const pcmk_scheduler_t * | scheduler | ) |
Definition at line 85 of file scheduler.c.
int pcmk_set_scheduler_cib | ( | pcmk_scheduler_t * | scheduler, |
xmlNode * | cib | ||
) |
Definition at line 67 of file scheduler.c.
uint32_t pcmk__warnings = 0 |
Definition at line 19 of file scheduler.c.
gboolean was_processing_error = FALSE |
Definition at line 21 of file scheduler.c.
gboolean was_processing_warning = FALSE |
Definition at line 22 of file scheduler.c.