pacemaker  2.0.2-debe490
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 <unpack.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.


#define VARIANT_CLONE   1


void pe__force_anon (const char *standard, pe_resource_t *rsc, const char *rid, pe_working_set_t *data_set)
resource_tfind_clone_instance (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 (resource_t *rsc, pe_working_set_t *data_set)
gboolean clone_active (resource_t *rsc, gboolean all)
bool is_set_recursive (resource_t *rsc, long long flag, bool any)
void clone_print (resource_t *rsc, const char *pre_text, long options, void *print_data)
void clone_free (resource_t *rsc)
enum rsc_role_e clone_resource_state (const 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 17 of file clone.c.

Function Documentation

gboolean clone_active ( resource_t rsc,
gboolean  all 

Definition at line 235 of file clone.c.

void clone_free ( resource_t rsc)

Definition at line 571 of file clone.c.

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

Definition at line 367 of file clone.c.

enum rsc_role_e clone_resource_state ( const resource_t rsc,
gboolean  current 

Definition at line 605 of file clone.c.

gboolean clone_unpack ( resource_t rsc,
pe_working_set_t data_set 

Definition at line 111 of file clone.c.

resource_t* find_clone_instance ( resource_t rsc,
const char *  sub_id,
pe_working_set_t data_set 

Definition at line 40 of file clone.c.

bool is_set_recursive ( resource_t rsc,
long long  flag,
bool  any 

Definition at line 336 of file clone.c.

pe_resource_t* pe__create_clone_child ( pe_resource_t rsc,
pe_working_set_t data_set 

Definition at line 58 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 21 of file clone.c.

bool pe__is_universal_clone ( pe_resource_t rsc,
pe_working_set_t data_set 

Definition at line 631 of file clone.c.