summaryrefslogtreecommitdiff
path: root/source3/winbindd
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/winbindd
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/winbindd')
-rw-r--r--source3/winbindd/idmap_autorid.c1
-rw-r--r--source3/winbindd/idmap_tdb.c1
-rw-r--r--source3/winbindd/idmap_tdb2.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c
index cddbff2d47..c1a15803eb 100644
--- a/source3/winbindd/idmap_autorid.c
+++ b/source3/winbindd/idmap_autorid.c
@@ -26,6 +26,7 @@
#include "system/filesys.h"
#include "winbindd.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "idmap.h"
#include "../libcli/security/dom_sid.h"
#include "util_tdb.h"
diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c
index d99d2f0e4e..6c326b4fde 100644
--- a/source3/winbindd/idmap_tdb.c
+++ b/source3/winbindd/idmap_tdb.c
@@ -29,6 +29,7 @@
#include "idmap.h"
#include "idmap_rw.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "../libcli/security/security.h"
#include "util_tdb.h"
diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c
index 112978bdc3..d7cbb8aef6 100644
--- a/source3/winbindd/idmap_tdb2.c
+++ b/source3/winbindd/idmap_tdb2.c
@@ -37,6 +37,7 @@
#include "idmap.h"
#include "idmap_rw.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "../libcli/security/dom_sid.h"
#include "util_tdb.h"