summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb_share_modes.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-04-10 18:12:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:17 -0500
commit4e0a6bd9a7a66989dc53d2682c06451afb32199e (patch)
tree2aadd14404dd44db64a877d533b4fe53b34a6e52 /source3/libsmb/smb_share_modes.c
parent78c57f59ac7d47425ebb450205efc981575aab8d (diff)
downloadsamba-4e0a6bd9a7a66989dc53d2682c06451afb32199e.tar.gz
r22154: Make struct smbdb_ctx an opaque pointer so users of the API
don't need to have tdb.h. Jeremy. (This used to be commit 512542c90a78006bda3470eed7fb6d3f6e708eed)
Diffstat (limited to 'source3/libsmb/smb_share_modes.c')
-rw-r--r--source3/libsmb/smb_share_modes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/libsmb/smb_share_modes.c b/source3/libsmb/smb_share_modes.c
index f78eaf8ca53..53f99d0f50e 100644
--- a/source3/libsmb/smb_share_modes.c
+++ b/source3/libsmb/smb_share_modes.c
@@ -28,6 +28,11 @@
#include "includes.h"
#include "smb_share_modes.h"
+/* Database context handle. */
+struct smbdb_ctx {
+ TDB_CONTEXT *smb_tdb;
+};
+
/* Remove the paranoid malloc checker. */
#ifdef malloc
#undef malloc