From dce954d275977d14326249e07e20d988ad1d91f4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 25 Apr 2000 01:17:45 +0000 Subject: added TDB_MODIFY flag - patch from from luke (This used to be commit 90b574296e06cd6ed4fedc1e5a8ae412a5e78b45) --- source3/tdb/README | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/tdb/README') diff --git a/source3/tdb/README b/source3/tdb/README index 9eef521075..96fdcf5c99 100644 --- a/source3/tdb/README +++ b/source3/tdb/README @@ -137,6 +137,9 @@ int tdb_store(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, int flag); store an element in the database, replacing any existing element with the same key + If flag==TDB_INSERT then don't overwrite an existing entry + If flag==TDB_MODIFY then don't create a new entry + return 0 on success, -1 on failure ---------------------------------------------------------------------- -- cgit