diff options
author | Michael Adam <obnox@samba.org> | 2011-07-06 16:40:21 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-07-29 12:23:13 +0200 |
commit | 1abdd9b2bb09d072496db5207814aefefe403f60 (patch) | |
tree | 19f220caaecca300aee085e215846983823f8900 /source3/passdb | |
parent | 75c7320497dc53d23bced5472faef7d9c31c1d9b (diff) | |
download | samba-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/passdb')
-rw-r--r-- | source3/passdb/account_pol.c | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_tdb.c | 1 | ||||
-rw-r--r-- | source3/passdb/secrets.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/source3/passdb/account_pol.c b/source3/passdb/account_pol.c index c4a39e408f..1179f5a335 100644 --- a/source3/passdb/account_pol.c +++ b/source3/passdb/account_pol.c @@ -23,6 +23,7 @@ #include "system/filesys.h" #include "passdb.h" #include "dbwrap.h" +#include "dbwrap/dbwrap_open.h" #include "../libcli/security/security.h" #include "lib/privileges.h" diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c index 28461d0ac3..1c40e24b28 100644 --- a/source3/passdb/pdb_tdb.c +++ b/source3/passdb/pdb_tdb.c @@ -26,6 +26,7 @@ #include "system/filesys.h" #include "passdb.h" #include "dbwrap.h" +#include "dbwrap/dbwrap_open.h" #include "../libcli/security/security.h" #include "util_tdb.h" diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index c9101ca050..7ad79c14ec 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -29,6 +29,7 @@ #include "librpc/gen_ndr/ndr_secrets.h" #include "secrets.h" #include "dbwrap.h" +#include "dbwrap/dbwrap_open.h" #include "../libcli/security/security.h" #include "util_tdb.h" |