- enum tdb_debug_level level, void *priv,
- const char *fmt, ...);
-
-static inline bool data_equal(struct tdb_data a, struct tdb_data b)
-{
- if (a.dsize != b.dsize)
- return false;
- return memcmp(a.dptr, b.dptr, a.dsize) == 0;
-}
+ enum tdb_log_level level,
+ enum TDB_ERROR ecode,
+ const char *message, void *priv);