summaryrefslogtreecommitdiff
path: root/source3/utils
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/utils
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/utils')
-rw-r--r--source3/utils/dbwrap_tool.c1
-rw-r--r--source3/utils/dbwrap_torture.c1
-rw-r--r--source3/utils/net_idmap.c1
-rw-r--r--source3/utils/net_idmap_check.c1
-rw-r--r--source3/utils/status.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/source3/utils/dbwrap_tool.c b/source3/utils/dbwrap_tool.c
index 9061efd395..2210ab5597 100644
--- a/source3/utils/dbwrap_tool.c
+++ b/source3/utils/dbwrap_tool.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "system/filesys.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "messages.h"
typedef enum { OP_FETCH, OP_STORE, OP_DELETE, OP_ERASE, OP_LISTKEYS } dbwrap_op;
diff --git a/source3/utils/dbwrap_torture.c b/source3/utils/dbwrap_torture.c
index 21d5e8c8b6..5ce98f9c8c 100644
--- a/source3/utils/dbwrap_torture.c
+++ b/source3/utils/dbwrap_torture.c
@@ -23,6 +23,7 @@
#include "system/filesys.h"
#include "popt_common.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "messages.h"
#if 0
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c
index 383035e906..b1388d265d 100644
--- a/source3/utils/net_idmap.c
+++ b/source3/utils/net_idmap.c
@@ -23,6 +23,7 @@
#include "secrets.h"
#include "idmap.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "../libcli/security/security.h"
#include "net_idmap_check.h"
#include "util_tdb.h"
diff --git a/source3/utils/net_idmap_check.c b/source3/utils/net_idmap_check.c
index 3adc060a7c..76cd979164 100644
--- a/source3/utils/net_idmap_check.c
+++ b/source3/utils/net_idmap_check.c
@@ -27,6 +27,7 @@
#include "includes.h"
#include "system/filesys.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "net.h"
#include "../libcli/security/dom_sid.h"
#include "cbuf.h"
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 001c5fd011..4bd18b6d0f 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -34,6 +34,7 @@
#include "system/filesys.h"
#include "popt_common.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "../libcli/security/security.h"
#include "session.h"
#include "locking/proto.h"