From 1abdd9b2bb09d072496db5207814aefefe403f60 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 6 Jul 2011 16:40:21 +0200 Subject: 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. --- source3/modules/nfs4_acls.c | 1 + source3/modules/vfs_acl_tdb.c | 1 + source3/modules/vfs_xattr_tdb.c | 1 + 3 files changed, 3 insertions(+) (limited to 'source3/modules') 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 -- cgit