36 #ifndef UTIL_H_DEFINED
37 #define UTIL_H_DEFINED
69 #define corosync_exit_error(err) _corosync_exit_error ((err), __FILE__, __LINE__)
80 char *buf,
size_t buf_size);
void setcs_name_t(cs_name_t *name, char *str)
int cs_name_tisEqual(cs_name_t *str1, char *str2)
int name_match(cs_name_t *name1, cs_name_t *name2)
Compare two names.
void _corosync_exit_error(enum e_corosync_done err, const char *file, unsigned int line) __attribute__((noreturn))
const char * short_service_name_get(uint32_t service_id, char *buf, size_t buf_size)
Get the short name of a service from the service_id.
char * getcs_name_t(cs_name_t *name)
void _corosync_out_of_memory_error(void)
cs_time_t clust_time_now(void)
Get the time of day and convert to nanoseconds.