pacemaker  1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
native.c File Reference
#include <crm_internal.h>
#include <crm/pengine/rules.h>
#include <crm/pengine/status.h>
#include <crm/pengine/complex.h>
#include <crm/pengine/internal.h>
#include <unpack.h>
#include <crm/msg_xml.h>
#include "./variant.h"
Include dependency graph for native.c:

Go to the source code of this file.

Macros

#define VARIANT_NATIVE   1
 

Functions

void native_add_running (resource_t *rsc, node_t *node, pe_working_set_t *data_set)
 
void force_non_unique_clone (resource_t *rsc, const char *rid, pe_working_set_t *data_set)
 
gboolean native_unpack (resource_t *rsc, pe_working_set_t *data_set)
 
resource_tnative_find_rsc (resource_t *rsc, const char *id, node_t *on_node, int flags)
 
char * native_parameter (resource_t *rsc, node_t *node, gboolean create, const char *name, pe_working_set_t *data_set)
 
gboolean native_active (resource_t *rsc, gboolean all)
 
void common_print (resource_t *rsc, const char *pre_text, const char *name, node_t *node, long options, void *print_data)
 
void native_print (resource_t *rsc, const char *pre_text, long options, void *print_data)
 
void native_free (resource_t *rsc)
 
enum rsc_role_e native_resource_state (const resource_t *rsc, gboolean current)
 
node_tnative_location (resource_t *rsc, GListPtr *list, gboolean current)
 
void print_rscs_brief (GListPtr rsc_list, const char *pre_text, long options, void *print_data, gboolean print_all)
 

Macro Definition Documentation

#define VARIANT_NATIVE   1

Definition at line 28 of file native.c.

Function Documentation

void common_print ( resource_t rsc,
const char *  pre_text,
const char *  name,
node_t node,
long  options,
void *  print_data 
)

Definition at line 479 of file native.c.

void force_non_unique_clone ( resource_t rsc,
const char *  rid,
pe_working_set_t data_set 
)

Definition at line 48 of file clone.c.

gboolean native_active ( resource_t rsc,
gboolean  all 
)

Definition at line 285 of file native.c.

void native_add_running ( resource_t rsc,
node_t node,
pe_working_set_t data_set 
)

Definition at line 32 of file native.c.

resource_t* native_find_rsc ( resource_t rsc,
const char *  id,
node_t on_node,
int  flags 
)

Definition at line 188 of file native.c.

void native_free ( resource_t rsc)

Definition at line 744 of file native.c.

node_t* native_location ( resource_t rsc,
GListPtr list,
gboolean  current 
)

Definition at line 763 of file native.c.

char* native_parameter ( resource_t rsc,
node_t node,
gboolean  create,
const char *  name,
pe_working_set_t data_set 
)

Definition at line 242 of file native.c.

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

Definition at line 727 of file native.c.

enum rsc_role_e native_resource_state ( const resource_t rsc,
gboolean  current 
)

Definition at line 751 of file native.c.

gboolean native_unpack ( resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 127 of file native.c.

void print_rscs_brief ( GListPtr  rsc_list,
const char *  pre_text,
long  options,
void *  print_data,
gboolean  print_all 
)

Definition at line 883 of file native.c.