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
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 <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 (pe_resource_t *rsc, pe_node_t *node, pe_working_set_t *data_set)
 
gboolean native_unpack (pe_resource_t *rsc, pe_working_set_t *data_set)
 
pe_resource_tnative_find_rsc (pe_resource_t *rsc, const char *id, const pe_node_t *on_node, int flags)
 
char * native_parameter (pe_resource_t *rsc, pe_node_t *node, gboolean create, const char *name, pe_working_set_t *data_set)
 
gboolean native_active (pe_resource_t *rsc, gboolean all)
 
int pe__common_output_html (pcmk__output_t *out, pe_resource_t *rsc, const char *name, pe_node_t *node, long options)
 
int pe__common_output_text (pcmk__output_t *out, pe_resource_t *rsc, const char *name, pe_node_t *node, long options)
 
void common_print (pe_resource_t *rsc, const char *pre_text, const char *name, pe_node_t *node, long options, void *print_data)
 
void native_print (pe_resource_t *rsc, const char *pre_text, long options, void *print_data)
 
int pe__resource_xml (pcmk__output_t *out, va_list args)
 
int pe__resource_html (pcmk__output_t *out, va_list args)
 
int pe__resource_text (pcmk__output_t *out, va_list args)
 
void native_free (pe_resource_t *rsc)
 
enum rsc_role_e native_resource_state (const pe_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)
 
int pe__rscs_brief_output (pcmk__output_t *out, GListPtr rsc_list, long options, gboolean print_all)
 

Macro Definition Documentation

#define VARIANT_NATIVE   1

Definition at line 19 of file native.c.

Function Documentation

void common_print ( pe_resource_t rsc,
const char *  pre_text,
const char *  name,
pe_node_t node,
long  options,
void *  print_data 
)

Definition at line 869 of file native.c.

gboolean native_active ( pe_resource_t rsc,
gboolean  all 
)

Definition at line 360 of file native.c.

void native_add_running ( pe_resource_t rsc,
pe_node_t node,
pe_working_set_t data_set 
)

Definition at line 83 of file native.c.

pe_resource_t* native_find_rsc ( pe_resource_t rsc,
const char *  id,
const pe_node_t on_node,
int  flags 
)

Definition at line 260 of file native.c.

void native_free ( pe_resource_t rsc)

Definition at line 1149 of file native.c.

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

Definition at line 1178 of file native.c.

char* native_parameter ( pe_resource_t rsc,
pe_node_t node,
gboolean  create,
const char *  name,
pe_working_set_t data_set 
)

Definition at line 315 of file native.c.

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

Definition at line 1021 of file native.c.

enum rsc_role_e native_resource_state ( const pe_resource_t rsc,
gboolean  current 
)

Definition at line 1156 of file native.c.

gboolean native_unpack ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 191 of file native.c.

int pe__common_output_html ( pcmk__output_t out,
pe_resource_t rsc,
const char *  name,
pe_node_t node,
long  options 
)

Definition at line 716 of file native.c.

int pe__common_output_text ( pcmk__output_t out,
pe_resource_t rsc,
const char *  name,
pe_node_t node,
long  options 
)

Definition at line 805 of file native.c.

int pe__resource_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 1112 of file native.c.

int pe__resource_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 1131 of file native.c.

int pe__resource_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 1043 of file native.c.

int pe__rscs_brief_output ( pcmk__output_t out,
GListPtr  rsc_list,
long  options,
gboolean  print_all 
)

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