dbwrap: add a dbwrap_flags argument to db_open()
commitcf0cb0add9ed47b8974272237fee0e1a4ba7bf68
authorMichael Adam <obnox@samba.org>
Mon, 27 Jan 2014 13:49:12 +0000 (27 14:49 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 7 Feb 2014 15:06:06 +0000 (7 16:06 +0100)
treee655a5a44b8d134767b6a58a281aa040317a664c
parent229dcfd3501e4743d5d9aea5c9f7a97d7612a499
dbwrap: add a dbwrap_flags argument to db_open()

This is in preparation to support handing flags to backends,
in particular activating read only record support for ctdb
databases. For a start, this does nothing but adding the
parameter, and all databases use DBWRAP_FLAG_NONE.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
34 files changed:
source3/groupdb/mapping_tdb.c
source3/lib/dbwrap/dbwrap_open.c
source3/lib/dbwrap/dbwrap_open.h
source3/lib/dbwrap/dbwrap_watch.c
source3/lib/g_lock.c
source3/lib/serverid.c
source3/lib/sharesec.c
source3/locking/brlock.c
source3/locking/share_mode_lock.c
source3/modules/vfs_acl_tdb.c
source3/modules/vfs_xattr_tdb.c
source3/passdb/account_pol.c
source3/passdb/pdb_tdb.c
source3/passdb/secrets.c
source3/printing/printer_list.c
source3/registry/reg_backend_db.c
source3/rpc_client/cli_netlogon.c
source3/smbd/notify_internal.c
source3/smbd/smbXsrv_open.c
source3/smbd/smbXsrv_session.c
source3/smbd/smbXsrv_tcon.c
source3/smbd/smbXsrv_version.c
source3/torture/test_dbwrap_watch.c
source3/torture/test_idmap_tdb_common.c
source3/torture/torture.c
source3/utils/dbwrap_tool.c
source3/utils/dbwrap_torture.c
source3/utils/net_idmap.c
source3/utils/net_idmap_check.c
source3/utils/net_registry_check.c
source3/utils/status.c
source3/winbindd/idmap_autorid_tdb.c
source3/winbindd/idmap_tdb.c
source3/winbindd/idmap_tdb2.c