pacemaker
2.1.9-49aab99839
Scalable High-Availability cluster resource manager
|
Deprecated Pacemaker utilities. More...
Go to the source code of this file.
Macros | |
#define | crm_get_interval crm_parse_interval_spec |
#define | CRM_DEFAULT_OP_TIMEOUT_S "20s" |
#define | safe_str_eq(a, b) crm_str_eq(a, b, FALSE) |
#define | crm_atoi(text, default_text) crm_parse_int(text, default_text) |
#define | crm_str_hash g_str_hash_traditional |
#define | ONLINESTATUS PCMK_VALUE_ONLINE |
#define | OFFLINESTATUS PCMK_VALUE_OFFLINE |
Functions | |
gboolean | crm_str_eq (const char *a, const char *b, gboolean use_case) |
gboolean | safe_str_neq (const char *a, const char *b) |
char * | crm_itoa_stack (int an_int, char *buf, size_t len) |
int | pcmk_scan_nvpair (const char *input, char **name, char **value) |
char * | pcmk_format_nvpair (const char *name, const char *value, const char *units) |
const char * | crm_xml_replace (xmlNode *node, const char *name, const char *value) |
char * | pcmk_format_named_time (const char *name, time_t epoch_time) |
long long | crm_parse_ll (const char *text, const char *default_text) |
int | crm_parse_int (const char *text, const char *default_text) |
guint | g_str_hash_traditional (gconstpointer v) |
gboolean | crm_strcase_equal (gconstpointer a, gconstpointer b) |
guint | crm_strcase_hash (gconstpointer v) |
GHashTable * | crm_str_table_dup (GHashTable *old_table) |
char * | crm_strip_trailing_newline (char *str) |
int | pcmk_numeric_strcasecmp (const char *s1, const char *s2) |
void | crm_build_path (const char *path_c, mode_t mode) |
guint | crm_parse_interval_spec (const char *input) |
char * | pcmk_hostname (void) |
Deprecated Pacemaker utilities.
Definition in file util_compat.h.
#define crm_atoi | ( | text, | |
default_text | |||
) | crm_parse_int(text, default_text) |
Definition at line 90 of file util_compat.h.
#define CRM_DEFAULT_OP_TIMEOUT_S "20s" |
Definition at line 34 of file util_compat.h.
#define crm_get_interval crm_parse_interval_spec |
Definition at line 31 of file util_compat.h.
#define crm_str_hash g_str_hash_traditional |
Definition at line 96 of file util_compat.h.
#define OFFLINESTATUS PCMK_VALUE_OFFLINE |
PCMK_VALUE_OFFLINE
instead Definition at line 169 of file util_compat.h.
#define ONLINESTATUS PCMK_VALUE_ONLINE |
PCMK_VALUE_ONLINE
instead Definition at line 166 of file util_compat.h.
#define safe_str_eq | ( | a, | |
b | |||
) | crm_str_eq(a, b, FALSE) |
Definition at line 65 of file util_compat.h.
void crm_build_path | ( | const char * | path_c, |
mode_t | mode | ||
) |
char* crm_itoa_stack | ( | int | an_int, |
char * | buf, | ||
size_t | len | ||
) |
int crm_parse_int | ( | const char * | text, |
const char * | default_text | ||
) |
guint crm_parse_interval_spec | ( | const char * | input | ) |
pcmk_parse_interval_spec()
instead long long crm_parse_ll | ( | const char * | text, |
const char * | default_text | ||
) |
gboolean crm_str_eq | ( | const char * | a, |
const char * | b, | ||
gboolean | use_case | ||
) |
GHashTable* crm_str_table_dup | ( | GHashTable * | old_table | ) |
gboolean crm_strcase_equal | ( | gconstpointer | a, |
gconstpointer | b | ||
) |
guint crm_strcase_hash | ( | gconstpointer | v | ) |
char* crm_strip_trailing_newline | ( | char * | str | ) |
const char* crm_xml_replace | ( | xmlNode * | node, |
const char * | name, | ||
const char * | value | ||
) |
crm_xml_add()
or xml_remove_prop()
instead guint g_str_hash_traditional | ( | gconstpointer | v | ) |
char* pcmk_format_named_time | ( | const char * | name, |
time_t | epoch_time | ||
) |
char* pcmk_format_nvpair | ( | const char * | name, |
const char * | value, | ||
const char * | units | ||
) |
char* pcmk_hostname | ( | void | ) |
uname()
instead int pcmk_numeric_strcasecmp | ( | const char * | s1, |
const char * | s2 | ||
) |
int pcmk_scan_nvpair | ( | const char * | input, |
char ** | name, | ||
char ** | value | ||
) |
gboolean safe_str_neq | ( | const char * | a, |
const char * | b | ||
) |