10 #ifndef PCMK__CRM_COMMON_STRINGS__H 11 #define PCMK__CRM_COMMON_STRINGS__H 42 #endif // PCMK__CRM_COMMON_STRINGS__H int pcmk_parse_interval_spec(const char *input, guint *result_ms)
Parse milliseconds from a Pacemaker interval specification.
long long crm_get_msec(const char *input)
Parse a time+units string and return milliseconds equivalent.
gboolean crm_is_true(const char *s)
int crm_str_to_boolean(const char *s, int *ret)
char * crm_strdup_printf(char const *format,...) G_GNUC_PRINTF(1