diff options
author | Michael Adam <obnox@samba.org> | 2014-01-28 12:33:42 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-02-07 16:06:07 +0100 |
commit | bbf0903d6bf60afc38b75332e36d81868c05d22c (patch) | |
tree | 704d54ba29a1a5be082635b12d3c1499308aff82 /lib/dbwrap/dbwrap_tdb.c | |
parent | 906abe55cbc6f0e2daed93975411d4fc1ece5d3a (diff) | |
download | samba-bbf0903d6bf60afc38b75332e36d81868c05d22c.tar.gz |
dbwrap: add a dbwrap_flags argument to db_open_tdb()
...for consistency and in preparation of future flags
that the tdb backend might be aware of.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/dbwrap/dbwrap_tdb.c')
-rw-r--r-- | lib/dbwrap/dbwrap_tdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dbwrap/dbwrap_tdb.c b/lib/dbwrap/dbwrap_tdb.c index 3f21192233a..1b061e3fdf4 100644 --- a/lib/dbwrap/dbwrap_tdb.c +++ b/lib/dbwrap/dbwrap_tdb.c @@ -401,7 +401,8 @@ struct db_context *db_open_tdb(TALLOC_CTX *mem_ctx, const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode, - enum dbwrap_lock_order lock_order) + enum dbwrap_lock_order lock_order, + uint64_t dbrwap_flags) { struct db_context *result = NULL; struct db_tdb_ctx *db_tdb; |