summaryrefslogtreecommitdiff
path: root/source3/locking
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/locking
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/locking')
-rw-r--r--source3/locking/brlock.c1
-rw-r--r--source3/locking/locking.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index a429768e69..70147f4844 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -29,6 +29,7 @@
#include "locking/proto.h"
#include "smbd/globals.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "serverid.h"
#include "messages.h"
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 81e93a555a..0c5076f806 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -40,6 +40,7 @@
#include "locking/proto.h"
#include "smbd/globals.h"
#include "dbwrap.h"
+#include "dbwrap/dbwrap_open.h"
#include "../libcli/security/security.h"
#include "serverid.h"
#include "messages.h"