pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Functions
common.c File Reference
#include <crm_internal.h>
#include <crm/crm.h>
#include <crm/common/xml.h>
#include <crm/common/util.h>
#include <glib.h>
#include <crm/common/scheduler_internal.h>
#include <crm/pengine/internal.h>
#include <crm/pengine/common_compat.h>
Include dependency graph for common.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ fail2text()

const char* fail2text ( enum action_fail_response  fail)
Deprecated:
Use pcmk_on_fail_text() instead

Definition at line 56 of file common.c.

◆ pe_pref()

const char* pe_pref ( GHashTable *  options,
const char *  name 
)
Deprecated:
Do not use

Definition at line 50 of file common.c.

◆ role2text()

const char* role2text ( enum rsc_role_e  role)
Deprecated:
Use pcmk_role_text() instead

Definition at line 26 of file common.c.

◆ task2text()

const char* task2text ( enum action_tasks  task)
Deprecated:
Use pcmk_action_text() instead

Definition at line 38 of file common.c.

◆ text2role()

enum rsc_role_e text2role ( const char *  role)
Deprecated:
Use pcmk_parse_role() instead

Definition at line 32 of file common.c.

◆ text2task()

enum action_tasks text2task ( const char *  task)
Deprecated:
Use pcmk_parse_action() instead

Definition at line 44 of file common.c.