X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Ftdb2.h;h=4be15e98861823f82e39d6bc5b7188c5ad0c5843;hp=d5ae329a6029d7659886992dd380e845bd9d2fb4;hb=c8f6f8c2dea76042f74c02eff048847e62adcca6;hpb=1a0c636bc38213bd0322db47529f78f2dc22ffdd diff --git a/ccan/tdb2/tdb2.h b/ccan/tdb2/tdb2.h index d5ae329a..4be15e98 100644 --- a/ccan/tdb2/tdb2.h +++ b/ccan/tdb2/tdb2.h @@ -86,6 +86,7 @@ struct tdb_context *tdb_open(const char *name, int tdb_flags, #define TDB_SEQNUM 128 /* maintain a sequence number */ #define TDB_ALLOW_NESTING 256 /* fake nested transactions */ #define TDB_RDONLY 512 /* implied by O_RDONLY */ +#define TDB_VERSION1 1024 /* create/open an old style TDB */ /** * tdb_close - close and free a tdb.