|
@@ -7,7 +7,7 @@
|
|
|
* Author: Steven Dake (sdake@redhat.com), Mark Haverkamp (markh@osdl.org)
|
|
* Author: Steven Dake (sdake@redhat.com), Mark Haverkamp (markh@osdl.org)
|
|
|
*
|
|
*
|
|
|
* This software licensed under BSD license, the text of which follows:
|
|
* This software licensed under BSD license, the text of which follows:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
* modification, are permitted provided that the following conditions are met:
|
|
* modification, are permitted provided that the following conditions are met:
|
|
|
*
|
|
*
|
|
@@ -67,7 +67,6 @@ enum e_ais_done {
|
|
|
* Compare two names. returns non-zero on match.
|
|
* Compare two names. returns non-zero on match.
|
|
|
*/
|
|
*/
|
|
|
extern int name_match(cs_name_t *name1, cs_name_t *name2);
|
|
extern int name_match(cs_name_t *name1, cs_name_t *name2);
|
|
|
-extern int mar_name_match(mar_name_t *name1, mar_name_t *name2);
|
|
|
|
|
#define corosync_exit_error(err) _corosync_exit_error ((err), __FILE__, __LINE__)
|
|
#define corosync_exit_error(err) _corosync_exit_error ((err), __FILE__, __LINE__)
|
|
|
extern void _corosync_exit_error (enum e_ais_done err, const char *file,
|
|
extern void _corosync_exit_error (enum e_ais_done err, const char *file,
|
|
|
unsigned int line)
|
|
unsigned int line)
|
|
@@ -76,6 +75,5 @@ void _corosync_out_of_memory_error (void) __attribute__((__noreturn__));
|
|
|
extern char *getcs_name_t (cs_name_t *name);
|
|
extern char *getcs_name_t (cs_name_t *name);
|
|
|
extern char *strstr_rs (const char *haystack, const char *needle);
|
|
extern char *strstr_rs (const char *haystack, const char *needle);
|
|
|
extern void setcs_name_t (cs_name_t *name, char *str);
|
|
extern void setcs_name_t (cs_name_t *name, char *str);
|
|
|
-char *get_mar_name_t (mar_name_t *name);
|
|
|
|
|
extern int cs_name_tisEqual (cs_name_t *str1, char *str2);
|
|
extern int cs_name_tisEqual (cs_name_t *str1, char *str2);
|
|
|
#endif /* UTIL_H_DEFINED */
|
|
#endif /* UTIL_H_DEFINED */
|