diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-01 00:41:47 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-01 00:41:47 +0000 |
commit | 99fbf5c4bc870119a12e9b6467beb6a8b8650cc0 (patch) | |
tree | 3d62f00287252c9af4b13db36c2ed683c7fbe197 /source3/tdb/README | |
parent | 05cb3464f972d336dcb82ca332bf9b2617646070 (diff) | |
download | samba-99fbf5c4bc870119a12e9b6467beb6a8b8650cc0.tar.gz samba-99fbf5c4bc870119a12e9b6467beb6a8b8650cc0.tar.bz2 samba-99fbf5c4bc870119a12e9b6467beb6a8b8650cc0.zip |
added TDB_INTERNAL, TDB_NOLOCK and TDB_NOMMAP flags.
TDB_INTERNAL replaces the old method of passing a null filename
(This used to be commit 8ec815920d46f205b9f3fff82397c731753c3a10)
Diffstat (limited to 'source3/tdb/README')
-rw-r--r-- | source3/tdb/README | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/tdb/README b/source3/tdb/README index 96fdcf5c99..fac3eacb4d 100644 --- a/source3/tdb/README +++ b/source3/tdb/README @@ -64,6 +64,10 @@ TDB_CONTEXT *tdb_open(char *name, int hash_size, int tdb_flags, possible tdb_flags are: TDB_CLEAR_IF_FIRST - clear database if we are the only one with it open + TDB_INTERNAL - don't use a file, instaed store the data in + memory. The filename is ignored in this case. + TDB_NOLOCK - don't do any locking + TDB_NOMMAP - don't use mmap ---------------------------------------------------------------------- char *tdb_error(TDB_CONTEXT *tdb); |