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
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 <pe_status_private.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)
 
gboolean native_unpack (resource_t *rsc, pe_working_set_t *data_set)
 
resource_tnative_find_rsc (resource_t *rsc, const char *id, const 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)
 
pe_node_tnative_location (const pe_resource_t *rsc, GList **list, int 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 18 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 502 of file native.c.

gboolean native_active ( resource_t rsc,
gboolean  all 
)

Definition at line 312 of file native.c.

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

Definition at line 37 of file native.c.

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

Definition at line 212 of file native.c.

void native_free ( resource_t rsc)

Definition at line 771 of file native.c.

pe_node_t* native_location ( const pe_resource_t rsc,
GList **  list,
int  current 
)

Definition at line 800 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 267 of file native.c.

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

Definition at line 750 of file native.c.

enum rsc_role_e native_resource_state ( const resource_t rsc,
gboolean  current 
)

Definition at line 778 of file native.c.

gboolean native_unpack ( resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 143 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 927 of file native.c.