diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-03-28 01:38:42 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2004-03-28 01:38:42 +0000 |
commit | ad15f42b6d50eff9199aef7497d24b2c9167fea1 (patch) | |
tree | 826666a3e6f9fc00921f03611666b15b3988e03d /source4/lib/tdb/tdb.h | |
parent | 2fe43ec90f6c76ced5e697f4a26630bd72accdc5 (diff) | |
download | samba-ad15f42b6d50eff9199aef7497d24b2c9167fea1.tar.gz samba-ad15f42b6d50eff9199aef7497d24b2c9167fea1.tar.bz2 samba-ad15f42b6d50eff9199aef7497d24b2c9167fea1.zip |
added a TDB_MODIFY flag to tdb_store() that says "if the record
doesn't exist then fail the store"
(This used to be commit 6aec1457f8772cf81b88a0a00cc2ad7c16cd0d87)
Diffstat (limited to 'source4/lib/tdb/tdb.h')
-rw-r--r-- | source4/lib/tdb/tdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/tdb/tdb.h b/source4/lib/tdb/tdb.h index b3a28b7440..b7c51b5519 100644 --- a/source4/lib/tdb/tdb.h +++ b/source4/lib/tdb/tdb.h @@ -29,6 +29,7 @@ extern "C" { /* flags to tdb_store() */ #define TDB_REPLACE 1 #define TDB_INSERT 2 +#define TDB_MODIFY 3 /* flags for tdb_open() */ #define TDB_DEFAULT 0 /* just a readability place holder */ |