pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Data Structures | Typedefs | Functions | Variables
common.h File Reference
#include <glib.h>
#include <regex.h>
#include <crm/common/iso8601.h>
#include <crm/common/scheduler.h>
#include <crm/pengine/common_compat.h>
Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pe_re_match_data
 
struct  pe_match_data
 
struct  pe_rsc_eval_data
 
struct  pe_op_eval_data
 
struct  pe_rule_eval_data
 

Typedefs

typedef struct pe_re_match_data pe_re_match_data_t
 
typedef struct pe_match_data pe_match_data_t
 
typedef struct pe_rsc_eval_data pe_rsc_eval_data_t
 
typedef struct pe_op_eval_data pe_op_eval_data_t
 
typedef struct pe_rule_eval_data pe_rule_eval_data_t
 

Functions

const char * task2text (enum action_tasks task)
 
enum action_tasks text2task (const char *task)
 
enum rsc_role_e text2role (const char *role)
 
const char * role2text (enum rsc_role_e role)
 
const char * fail2text (enum action_fail_response fail)
 
const char * pe_pref (GHashTable *options, const char *name)
 

Variables

gboolean was_processing_error
 
gboolean was_processing_warning
 

Typedef Documentation

◆ pe_match_data_t

◆ pe_op_eval_data_t

◆ pe_re_match_data_t

◆ pe_rsc_eval_data_t

◆ pe_rule_eval_data_t

Function Documentation

◆ fail2text()

const char* fail2text ( enum action_fail_response  fail)

Definition at line 320 of file common.c.

◆ pe_pref()

const char* pe_pref ( GHashTable *  options,
const char *  name 
)

Definition at line 314 of file common.c.

◆ role2text()

const char* role2text ( enum rsc_role_e  role)

Definition at line 458 of file common.c.

◆ task2text()

const char* task2text ( enum action_tasks  task)

Definition at line 405 of file common.c.

◆ text2role()

enum rsc_role_e text2role ( const char *  role)

Definition at line 487 of file common.c.

◆ text2task()

enum action_tasks text2task ( const char *  task)

Definition at line 360 of file common.c.

Variable Documentation

◆ was_processing_error

gboolean was_processing_error

Definition at line 21 of file common.c.

◆ was_processing_warning

gboolean was_processing_warning

Definition at line 22 of file common.c.