X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb%2Ftdb.h;h=020cf050b803cd02db67d7d34aaa7cd8e042da33;hp=455cde4369951ec5642c14175d56aac563e4741a;hb=95bf6d3f652c031e1bf4a2ef5df187b6f34a4c01;hpb=16f4f30fdd9748d54274745df8a443d32d15bc53 diff --git a/ccan/tdb/tdb.h b/ccan/tdb/tdb.h index 455cde43..020cf050 100644 --- a/ccan/tdb/tdb.h +++ b/ccan/tdb/tdb.h @@ -57,6 +57,7 @@ extern "C" { #define TDB_VOLATILE 256 /* Activate the per-hashchain freelist, default 5 */ #define TDB_ALLOW_NESTING 512 /* Allow transactions to nest */ #define TDB_DISALLOW_NESTING 1024 /* Disallow transactions to nest */ +#define TDB_INCOMPATIBLE_HASH 2048 /* Better hashing: can't be opened by older tdb versions. */ /* error codes */ enum TDB_ERROR {TDB_SUCCESS=0, TDB_ERR_CORRUPT, TDB_ERR_IO, TDB_ERR_LOCK,