]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/test/lock-tracking.h
tdb: enforce hashing, via example hash in old rwlocks entry in header.
[ccan] / ccan / tdb / test / lock-tracking.h
index 9afdd0978e475200642f8e665d8450213c31fc28..702fdf83e90592a295e1d3655952258fa22959a6 100644 (file)
@@ -1,5 +1,7 @@
 #ifndef LOCK_TRACKING_H
 #define LOCK_TRACKING_H
+#include <stdbool.h>
+
 /* Set this if you want a callback after fnctl unlock. */
 extern void (*unlock_callback)(int fd);
 
@@ -11,4 +13,7 @@ unsigned int forget_locking(void);
 
 /* Number of errors in locking. */
 extern int locking_errors;
+
+/* Suppress lock checking. */
+extern bool suppress_lockcheck;
 #endif /* LOCK_TRACKING_H */