pacemaker
2.1.7-0f7f88312f
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 |
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) |
char * | score2char (int score) |
char * | score2char_stack (int score, char *buf, size_t len) |
Deprecated Pacemaker utilities.
Definition in file util_compat.h.
#define crm_atoi | ( | text, | |
default_text | |||
) | crm_parse_int(text, default_text) |
Definition at line 89 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 95 of file util_compat.h.
#define safe_str_eq | ( | a, | |
b | |||
) | crm_str_eq(a, b, FALSE) |
Definition at line 64 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 | ||
) |
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 | ||
) |
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 | ||
) |
char* score2char | ( | int | score | ) |
char* score2char_stack | ( | int | score, |
char * | buf, | ||
size_t | len | ||
) |