pacemaker  2.1.9-49aab99839
Scalable High-Availability cluster resource manager
Data Fields
resource_object_functions_s Struct Reference

#include <include/crm/common/resources.h>

Collaboration diagram for resource_object_functions_s:
Collaboration graph
[legend]

Data Fields

gboolean(* unpack )(pcmk_resource_t *rsc, pcmk_scheduler_t *scheduler)
 
pcmk_resource_t *(* find_rsc )(pcmk_resource_t *rsc, const char *search, const pcmk_node_t *node, int flags)
 
char *(* parameter )(pcmk_resource_t *rsc, pcmk_node_t *node, gboolean create, const char *name, pcmk_scheduler_t *scheduler)
 
void(* print )(pcmk_resource_t *rsc, const char *pre_text, long options, void *print_data)
 
gboolean(* active )(pcmk_resource_t *rsc, gboolean all)
 
enum rsc_role_e(* state )(const pcmk_resource_t *rsc, gboolean current)
 
pcmk_node_t *(* location )(const pcmk_resource_t *rsc, GList **list, int current)
 
void(* free )(pcmk_resource_t *rsc)
 
void(* count )(pcmk_resource_t *rsc)
 
gboolean(* is_filtered )(const pcmk_resource_t *rsc, GList *only_rsc, gboolean check_parent)
 
pcmk_node_t *(* active_node )(const pcmk_resource_t *rsc, unsigned int *count_all, unsigned int *count_clean)
 
unsigned int(* max_per_node )(const pcmk_resource_t *rsc)
 

Detailed Description

Deprecated:
Do not use (public access will be removed in a future release)

Definition at line 255 of file resources.h.

Field Documentation

◆ active

gboolean(* resource_object_functions_s::active) (pcmk_resource_t *rsc, gboolean all)

Definition at line 306 of file resources.h.

◆ active_node

pcmk_node_t*(* resource_object_functions_s::active_node) (const pcmk_resource_t *rsc, unsigned int *count_all, unsigned int *count_clean)

Definition at line 373 of file resources.h.

◆ count

void(* resource_object_functions_s::count) (pcmk_resource_t *rsc)

Definition at line 346 of file resources.h.

◆ find_rsc

pcmk_resource_t*(* resource_object_functions_s::find_rsc) (pcmk_resource_t *rsc, const char *search, const pcmk_node_t *node, int flags)

Definition at line 276 of file resources.h.

◆ free

void(* resource_object_functions_s::free) (pcmk_resource_t *rsc)

Definition at line 336 of file resources.h.

◆ is_filtered

gboolean(* resource_object_functions_s::is_filtered) (const pcmk_resource_t *rsc, GList *only_rsc, gboolean check_parent)

Definition at line 358 of file resources.h.

◆ location

pcmk_node_t*(* resource_object_functions_s::location) (const pcmk_resource_t *rsc, GList **list, int current)

Definition at line 328 of file resources.h.

◆ max_per_node

unsigned int(* resource_object_functions_s::max_per_node) (const pcmk_resource_t *rsc)

Definition at line 384 of file resources.h.

◆ parameter

char*(* resource_object_functions_s::parameter) (pcmk_resource_t *rsc, pcmk_node_t *node, gboolean create, const char *name, pcmk_scheduler_t *scheduler)

Definition at line 291 of file resources.h.

◆ print

void(* resource_object_functions_s::print) (pcmk_resource_t *rsc, const char *pre_text, long options, void *print_data)

Definition at line 295 of file resources.h.

◆ state

enum rsc_role_e(* resource_object_functions_s::state) (const pcmk_resource_t *rsc, gboolean current)

Definition at line 316 of file resources.h.

◆ unpack

gboolean(* resource_object_functions_s::unpack) (pcmk_resource_t *rsc, pcmk_scheduler_t *scheduler)

Definition at line 264 of file resources.h.


The documentation for this struct was generated from the following file: