summaryrefslogtreecommitdiffstats
path: root/zix/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'zix/common.h')
-rw-r--r--zix/common.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/zix/common.h b/zix/common.h
index 2107df5..a7edf76 100644
--- a/zix/common.h
+++ b/zix/common.h
@@ -17,6 +17,8 @@
#ifndef ZIX_COMMON_H
#define ZIX_COMMON_H
+#include <stdbool.h>
+
/**
@addtogroup zix
@{
@@ -55,7 +57,11 @@ typedef enum {
typedef int (*ZixComparator)(const void* a, const void* b, void* user_data);
/**
- @}
+ Function for testing equality of two elements.
+*/
+typedef bool (*ZixEqualFunc)(const void* a, const void* b);
+
+/**@}
*/
#endif /* ZIX_COMMON_H */