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
clone.c File Reference
#include <crm_internal.h>
#include <crm/pengine/rules.h>
#include <crm/pengine/status.h>
#include <crm/pengine/internal.h>
#include <pe_status_private.h>
#include <crm/msg_xml.h>
#include "./variant.h"
Include dependency graph for clone.c:

Go to the source code of this file.

Macros

#define VARIANT_CLONE   1
 

Functions

void pe__force_anon (const char *standard, pe_resource_t *rsc, const char *rid, pe_working_set_t *data_set)
 
pe_resource_tfind_clone_instance (pe_resource_t *rsc, const char *sub_id, pe_working_set_t *data_set)
 
pe_resource_tpe__create_clone_child (pe_resource_t *rsc, pe_working_set_t *data_set)
 
gboolean clone_unpack (pe_resource_t *rsc, pe_working_set_t *data_set)
 
gboolean clone_active (pe_resource_t *rsc, gboolean all)
 
bool is_set_recursive (pe_resource_t *rsc, long long flag, bool any)
 
void clone_print (pe_resource_t *rsc, const char *pre_text, long options, void *print_data)
 
int pe__clone_xml (pcmk__output_t *out, va_list args)
 
int pe__clone_html (pcmk__output_t *out, va_list args)
 
int pe__clone_text (pcmk__output_t *out, va_list args)
 
void clone_free (pe_resource_t *rsc)
 
enum rsc_role_e clone_resource_state (const pe_resource_t *rsc, gboolean current)
 
bool pe__is_universal_clone (pe_resource_t *rsc, pe_working_set_t *data_set)
 

Macro Definition Documentation

#define VARIANT_CLONE   1

Definition at line 18 of file clone.c.

Function Documentation

gboolean clone_active ( pe_resource_t rsc,
gboolean  all 
)

Definition at line 237 of file clone.c.

void clone_free ( pe_resource_t rsc)

Definition at line 1035 of file clone.c.

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

Definition at line 369 of file clone.c.

enum rsc_role_e clone_resource_state ( const pe_resource_t rsc,
gboolean  current 
)

Definition at line 1069 of file clone.c.

gboolean clone_unpack ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 111 of file clone.c.

pe_resource_t* find_clone_instance ( pe_resource_t rsc,
const char *  sub_id,
pe_working_set_t data_set 
)

Definition at line 41 of file clone.c.

bool is_set_recursive ( pe_resource_t rsc,
long long  flag,
bool  any 
)

Definition at line 338 of file clone.c.

int pe__clone_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 619 of file clone.c.

int pe__clone_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 828 of file clone.c.

int pe__clone_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 575 of file clone.c.

pe_resource_t* pe__create_clone_child ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 59 of file clone.c.

void pe__force_anon ( const char *  standard,
pe_resource_t rsc,
const char *  rid,
pe_working_set_t data_set 
)

Definition at line 22 of file clone.c.

bool pe__is_universal_clone ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 1095 of file clone.c.