mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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 512542c90a
)
This commit is contained in:
parent
78c57f59ac
commit
4e0a6bd9a7
@ -33,12 +33,8 @@ extern "C" {
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "tdb.h"
|
||||
|
||||
/* Database context handle. */
|
||||
struct smbdb_ctx {
|
||||
TDB_CONTEXT *smb_tdb;
|
||||
};
|
||||
/* Opaque database context handle. */
|
||||
struct smbdb_ctx;
|
||||
|
||||
/* Share mode entry. */
|
||||
/*
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user