pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Data Fields
resource_object_functions_s Struct Reference

#include <include/crm/pengine/pe_types.h>

Collaboration diagram for resource_object_functions_s:
Collaboration graph
[legend]

Data Fields

gboolean(* unpack )(pe_resource_t *, pe_working_set_t *)
 
pe_resource_t *(* find_rsc )(pe_resource_t *parent, const char *search, const pe_node_t *node, int flags)
 
char *(* parameter )(pe_resource_t *, pe_node_t *, gboolean, const char *, pe_working_set_t *)
 
void(* print )(pe_resource_t *, const char *, long, void *)
 
gboolean(* active )(pe_resource_t *, gboolean)
 
enum rsc_role_e(* state )(const pe_resource_t *, gboolean)
 
pe_node_t *(* location )(const pe_resource_t *, GList **, int)
 
void(* free )(pe_resource_t *)
 
void(* count )(pe_resource_t *)
 
gboolean(* is_filtered )(pe_resource_t *, GList *, gboolean)
 

Detailed Description

Definition at line 44 of file pe_types.h.

Field Documentation

◆ active

gboolean(* resource_object_functions_s::active) (pe_resource_t *, gboolean)

Definition at line 53 of file pe_types.h.

◆ count

void(* resource_object_functions_s::count) (pe_resource_t *)

Definition at line 57 of file pe_types.h.

◆ find_rsc

pe_resource_t*(* resource_object_functions_s::find_rsc) (pe_resource_t *parent, const char *search, const pe_node_t *node, int flags)

Definition at line 46 of file pe_types.h.

◆ free

void(* resource_object_functions_s::free) (pe_resource_t *)

Definition at line 56 of file pe_types.h.

◆ is_filtered

gboolean(* resource_object_functions_s::is_filtered) (pe_resource_t *, GList *, gboolean)

Definition at line 58 of file pe_types.h.

◆ location

pe_node_t*(* resource_object_functions_s::location) (const pe_resource_t *, GList **, int)

Definition at line 55 of file pe_types.h.

◆ parameter

char*(* resource_object_functions_s::parameter) (pe_resource_t *, pe_node_t *, gboolean, const char *, pe_working_set_t *)

Definition at line 49 of file pe_types.h.

◆ print

void(* resource_object_functions_s::print) (pe_resource_t *, const char *, long, void *)
Deprecated:
will be removed in a future release

Definition at line 52 of file pe_types.h.

◆ state

enum rsc_role_e(* resource_object_functions_s::state) (const pe_resource_t *, gboolean)

Definition at line 54 of file pe_types.h.

◆ unpack

gboolean(* resource_object_functions_s::unpack) (pe_resource_t *, pe_working_set_t *)

Definition at line 45 of file pe_types.h.


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