]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/logging.h
tdb2: tdb_expand on empty database now tested.
[ccan] / ccan / tdb2 / test / logging.h
diff --git a/ccan/tdb2/test/logging.h b/ccan/tdb2/test/logging.h
new file mode 100644 (file)
index 0000000..c7a5f11
--- /dev/null
@@ -0,0 +1,10 @@
+#ifndef TDB2_TEST_LOGGING_H
+#define TDB2_TEST_LOGGING_H
+#include <ccan/tdb2/tdb2.h>
+unsigned tap_log_messages;
+
+void tap_log_fn(struct tdb_context *tdb,
+               enum tdb_debug_level level, void *priv,
+               const char *fmt, ...);
+
+#endif /* TDB2_TEST_LOGGING_H */