pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Typedefs | 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 dependency graph for group.c:

Go to the source code of this file.

Typedefs

typedef struct group_variant_data_s group_variant_data_t
 

Functions

pcmk_resource_tpe__last_group_member (const pcmk_resource_t *group)
 
bool pe__group_flag_is_set (const pcmk_resource_t *group, uint32_t flags)
 
gboolean group_unpack (pcmk_resource_t *rsc, pcmk_scheduler_t *scheduler)
 
gboolean group_active (pcmk_resource_t *rsc, gboolean all)
 
void group_print (pcmk_resource_t *rsc, const char *pre_text, long options, void *print_data)
 
 PCMK__OUTPUT_ARGS ("group", "uint32_t", "pcmk_resource_t *", "GList *", "GList *")
 
void group_free (pcmk_resource_t *rsc)
 
enum rsc_role_e group_resource_state (const pcmk_resource_t *rsc, gboolean current)
 
gboolean pe__group_is_filtered (const pcmk_resource_t *rsc, GList *only_rsc, gboolean check_parent)
 
unsigned int pe__group_max_per_node (const pcmk_resource_t *rsc)
 

Typedef Documentation

◆ group_variant_data_t

typedef struct group_variant_data_s group_variant_data_t

Function Documentation

◆ group_active()

gboolean group_active ( pcmk_resource_t rsc,
gboolean  all 
)

Definition at line 236 of file group.c.

◆ group_free()

void group_free ( pcmk_resource_t rsc)

Definition at line 456 of file group.c.

◆ group_print()

void group_print ( pcmk_resource_t rsc,
const char *  pre_text,
long  options,
void *  print_data 
)
Deprecated:
This function will be removed in a future release

Definition at line 290 of file group.c.

◆ group_resource_state()

enum rsc_role_e group_resource_state ( const pcmk_resource_t rsc,
gboolean  current 
)

Definition at line 477 of file group.c.

◆ group_unpack()

gboolean group_unpack ( pcmk_resource_t rsc,
pcmk_scheduler_t scheduler 
)

Definition at line 180 of file group.c.

◆ PCMK__OUTPUT_ARGS()

PCMK__OUTPUT_ARGS ( "group"  ,
"uint32_t"  ,
"pcmk_resource_t *"  ,
"GList *"  ,
"GList *"   
)

Definition at line 339 of file group.c.

◆ pe__group_flag_is_set()

bool pe__group_flag_is_set ( const pcmk_resource_t group,
uint32_t  flags 
)

Definition at line 57 of file group.c.

◆ pe__group_is_filtered()

gboolean pe__group_is_filtered ( const pcmk_resource_t rsc,
GList *  only_rsc,
gboolean  check_parent 
)

Definition at line 496 of file group.c.

◆ pe__group_max_per_node()

unsigned int pe__group_max_per_node ( const pcmk_resource_t rsc)

Definition at line 535 of file group.c.

◆ pe__last_group_member()

pcmk_resource_t* pe__last_group_member ( const pcmk_resource_t group)

Definition at line 37 of file group.c.