pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Macros | Functions
group.c File Reference
#include <crm_internal.h>
#include <stdint.h>
#include <crm/pengine/rules.h>
#include <crm/pengine/status.h>
#include <crm/pengine/internal.h>
#include <crm/msg_xml.h>
#include <crm/common/output.h>
#include <crm/common/strings_internal.h>
#include <crm/common/xml_internal.h>
#include <pe_status_private.h>
#include "./variant.h"
Include dependency graph for group.c:

Go to the source code of this file.

Macros

#define VARIANT_GROUP   1
 

Functions

gboolean group_unpack (pe_resource_t *rsc, pe_working_set_t *data_set)
 
gboolean group_active (pe_resource_t *rsc, gboolean all)
 
void group_print (pe_resource_t *rsc, const char *pre_text, long options, void *print_data)
 
int pe__group_xml (pcmk__output_t *out, va_list args)
 
int pe__group_default (pcmk__output_t *out, va_list args)
 
void group_free (pe_resource_t *rsc)
 
enum rsc_role_e group_resource_state (const pe_resource_t *rsc, gboolean current)
 
gboolean pe__group_is_filtered (pe_resource_t *rsc, GList *only_rsc, gboolean check_parent)
 

Macro Definition Documentation

◆ VARIANT_GROUP

#define VARIANT_GROUP   1

Definition at line 23 of file group.c.

Function Documentation

◆ group_active()

gboolean group_active ( pe_resource_t rsc,
gboolean  all 
)

Definition at line 166 of file group.c.

◆ group_free()

void group_free ( pe_resource_t rsc)

Definition at line 363 of file group.c.

◆ group_print()

void group_print ( pe_resource_t rsc,
const char *  pre_text,
long  options,
void *  print_data 
)

Definition at line 211 of file group.c.

◆ group_resource_state()

enum rsc_role_e group_resource_state ( const pe_resource_t rsc,
gboolean  current 
)

Definition at line 384 of file group.c.

◆ group_unpack()

gboolean group_unpack ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 99 of file group.c.

◆ pe__group_default()

int pe__group_default ( pcmk__output_t out,
va_list  args 
)

Definition at line 311 of file group.c.

◆ pe__group_is_filtered()

gboolean pe__group_is_filtered ( pe_resource_t rsc,
GList *  only_rsc,
gboolean  check_parent 
)

Definition at line 403 of file group.c.

◆ pe__group_xml()

int pe__group_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 261 of file group.c.