diff options
Diffstat (limited to 'source3/tdb/tdb.h')
-rw-r--r-- | source3/tdb/tdb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/tdb/tdb.h b/source3/tdb/tdb.h index 949a843e8a5..90a1cccfac9 100644 --- a/source3/tdb/tdb.h +++ b/source3/tdb/tdb.h @@ -51,13 +51,14 @@ typedef struct { /* flags to tdb_store() */ #define TDB_REPLACE 1 #define TDB_INSERT 2 +#define TDB_MODIFY 3 /* flags for tdb_open() */ #define TDB_CLEAR_IF_FIRST 1 /* error codes */ enum TDB_ERROR {TDB_SUCCESS=0, TDB_ERR_CORRUPT, TDB_ERR_IO, TDB_ERR_LOCK, - TDB_ERR_OOM, TDB_ERR_EXISTS}; + TDB_ERR_OOM, TDB_ERR_EXISTS, TDB_ERR_NOEXIST }; typedef int (*tdb_traverse_func)(TDB_CONTEXT *, TDB_DATA, TDB_DATA, void *); |