From 4e0a6bd9a7a66989dc53d2682c06451afb32199e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 10 Apr 2007 18:12:25 +0000 Subject: 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) --- source3/libsmb/smb_share_modes.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/libsmb') diff --git a/source3/libsmb/smb_share_modes.c b/source3/libsmb/smb_share_modes.c index f78eaf8ca5..53f99d0f50 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 -- cgit