pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
group.c File Reference
#include <crm_internal.h>
#include <crm/pengine/rules.h>
#include <crm/pengine/status.h>
#include <crm/pengine/internal.h>
#include <crm/msg_xml.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_html (pcmk__output_t *out, va_list args)
 
int pe__group_text (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)
 

Macro Definition Documentation

#define VARIANT_GROUP   1

Definition at line 18 of file group.c.

Function Documentation

gboolean group_active ( pe_resource_t rsc,
gboolean  all 
)

Definition at line 87 of file group.c.

void group_free ( pe_resource_t rsc)

Definition at line 268 of file group.c.

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

Definition at line 132 of file group.c.

enum rsc_role_e group_resource_state ( const pe_resource_t rsc,
gboolean  current 
)

Definition at line 289 of file group.c.

gboolean group_unpack ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 22 of file group.c.

int pe__group_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 219 of file group.c.

int pe__group_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 244 of file group.c.

int pe__group_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 182 of file group.c.