summaryrefslogtreecommitdiffstats
path: root/source/libsmb
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
commit512542c90a78006bda3470eed7fb6d3f6e708eed (patch)
treeb25ddbd8a0bae1dbcdc83489dd3261e14ea36bc6 /source/libsmb
parent34a5badbded0b2537ee854287931e2a7dc3aeb37 (diff)
downloadsamba-512542c90a78006bda3470eed7fb6d3f6e708eed.tar.gz
samba-512542c90a78006bda3470eed7fb6d3f6e708eed.tar.xz
samba-512542c90a78006bda3470eed7fb6d3f6e708eed.zip
r22154: Make struct smbdb_ctx an opaque pointer so users of the API
don't need to have tdb.h. Jeremy.
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/smb_share_modes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/libsmb/smb_share_modes.c b/source/libsmb/smb_share_modes.c
index f78eaf8ca53..53f99d0f50e 100644
--- a/source/libsmb/smb_share_modes.c
+++ b/source/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