summaryrefslogtreecommitdiff
path: root/lib/tdb2/tdb2.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb2/tdb2.h')
-rw-r--r--lib/tdb2/tdb2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tdb2/tdb2.h b/lib/tdb2/tdb2.h
index 8b127add81..bbe60a8936 100644
--- a/lib/tdb2/tdb2.h
+++ b/lib/tdb2/tdb2.h
@@ -87,6 +87,7 @@ struct tdb_context *tdb_open(const char *name, int tdb_flags,
#define TDB_NOSYNC 64 /* don't use synchronous transactions */
#define TDB_SEQNUM 128 /* maintain a sequence number */
#define TDB_ALLOW_NESTING 256 /* fake nested transactions */
+#define TDB_RDONLY 512 /* implied by O_RDONLY */
/**
* tdb_close - close and free a tdb.