X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb%2Ftdb.h;h=b84e20560021d45034bb4f29df78da30fb4cba30;hp=1254115548d49eca97d1e8683e8d1b2b33400277;hb=d3c01870f9592e4e318f305b61ba4470f85daba1;hpb=6f05c2b8ad782f7f602bddad8b72b42c55c32bf9 diff --git a/ccan/tdb/tdb.h b/ccan/tdb/tdb.h index 12541155..b84e2056 100644 --- a/ccan/tdb/tdb.h +++ b/ccan/tdb/tdb.h @@ -56,6 +56,7 @@ extern "C" { #define TDB_SEQNUM 128 /* maintain a sequence number */ #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 */ /* error codes */ enum TDB_ERROR {TDB_SUCCESS=0, TDB_ERR_CORRUPT, TDB_ERR_IO, TDB_ERR_LOCK,