pacemaker
2.1.4-dc6eb4362
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 | 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) |
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) |
Deprecated Pacemaker utilities.
Definition in file util_compat.h.
#define crm_atoi | ( | text, | |
default_text | |||
) | crm_parse_int(text, default_text) |
Definition at line 82 of file util_compat.h.
#define crm_get_interval crm_parse_interval_spec |
Definition at line 30 of file util_compat.h.
#define crm_str_hash g_str_hash_traditional |
Definition at line 88 of file util_compat.h.
#define safe_str_eq | ( | a, | |
b | |||
) | crm_str_eq(a, b, FALSE) |
Definition at line 60 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 | ) |
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 | ||
) |