summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-06 16:40:21 +0200
committerMichael Adam <obnox@samba.org>2011-07-29 12:23:13 +0200
commit1abdd9b2bb09d072496db5207814aefefe403f60 (patch)
tree19f220caaecca300aee085e215846983823f8900 /source3/modules
parent75c7320497dc53d23bced5472faef7d9c31c1d9b (diff)
downloadsamba-1abdd9b2bb09d072496db5207814aefefe403f60.tar.gz
samba-1abdd9b2bb09d072496db5207814aefefe403f60.tar.bz2
samba-1abdd9b2bb09d072496db5207814aefefe403f60.zip
s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.
Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and make the fallbacke implementation functoins non-static and create a dbwrap_private.h header file that contains their prototypes.
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/nfs4_acls.c1
-rw-r--r--source3/modules/vfs_acl_tdb.c1
-rw-r--r--source3/modules/vfs_xattr_tdb.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c
index 6739e78050..6f52bd1cd7 100644
--- a/source3/modules/nfs4_acls.c
+++ b/source3/modules/nfs4_acls.c
@@ -24,6 +24,7 @@
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "system/filesys.h"
#include "passdb/lookup_sid.h"
#include "util_tdb.h"
diff --git a/source3/modules/vfs_acl_tdb.c b/source3/modules/vfs_acl_tdb.c
index 0b03896dd9..abfe6ee32c 100644
--- a/source3/modules/vfs_acl_tdb.c
+++ b/source3/modules/vfs_acl_tdb.c
@@ -27,6 +27,7 @@
#include "librpc/gen_ndr/ndr_xattr.h"
#include "../lib/crypto/crypto.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "auth.h"
#include "util_tdb.h"
diff --git a/source3/modules/vfs_xattr_tdb.c b/source3/modules/vfs_xattr_tdb.c
index 40ccf06dd9..18d0be573e 100644
--- a/source3/modules/vfs_xattr_tdb.c
+++ b/source3/modules/vfs_xattr_tdb.c
@@ -24,6 +24,7 @@
#include "librpc/gen_ndr/ndr_xattr.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "util_tdb.h"
#undef DBGC_CLASS