pacemaker  1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
status.c File Reference
#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 <unpack.h>
Include dependency graph for status.c:

Go to the source code of this file.

Macros

#define MEMCHECK_STAGE_0   0
 
#define check_and_exit(stage)
 

Functions

gboolean cluster_status (pe_working_set_t *data_set)
 
void cleanup_calculations (pe_working_set_t *data_set)
 
void set_working_set_defaults (pe_working_set_t *data_set)
 
resource_tpe_find_resource (GListPtr rsc_list, const char *id)
 
resource_tpe_find_resource_with_flags (GListPtr rsc_list, const char *id, enum pe_find flags)
 
node_tpe_find_node_any (GListPtr nodes, const char *id, const char *uname)
 
node_tpe_find_node_id (GListPtr nodes, const char *id)
 
node_tpe_find_node (GListPtr nodes, const char *uname)
 

Macro Definition Documentation

#define check_and_exit (   stage)
Value:
crm_mem_stats(NULL); \
crm_err("Exiting: stage %d", stage); \
void cleanup_calculations(pe_working_set_t *data_set)
Definition: status.c:179
#define pcmk_err_generic
Definition: error.h:45
#define crm_err(fmt, args...)
Definition: logging.h:248
int crm_exit(int rc)
Definition: utils.c:83

Definition at line 34 of file status.c.

#define MEMCHECK_STAGE_0   0

Definition at line 32 of file status.c.

Function Documentation

void cleanup_calculations ( pe_working_set_t data_set)

Definition at line 179 of file status.c.

gboolean cluster_status ( pe_working_set_t data_set)

Definition at line 51 of file status.c.

node_t* pe_find_node ( GListPtr  nodes,
const char *  uname 
)

Definition at line 301 of file status.c.

node_t* pe_find_node_any ( GListPtr  nodes,
const char *  id,
const char *  uname 
)

Definition at line 273 of file status.c.

node_t* pe_find_node_id ( GListPtr  nodes,
const char *  id 
)

Definition at line 285 of file status.c.

resource_t* pe_find_resource ( GListPtr  rsc_list,
const char *  id 
)

Definition at line 249 of file status.c.

resource_t* pe_find_resource_with_flags ( GListPtr  rsc_list,
const char *  id,
enum pe_find  flags 
)

Definition at line 255 of file status.c.

void set_working_set_defaults ( pe_working_set_t data_set)

Definition at line 232 of file status.c.