1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r17691: Make the structure more public, so we have somewhere for calling

modules to put private data.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2006-08-22 04:15:39 +00:00 committed by Gerald (Jerry) Carter
parent fb085a651f
commit ba00f45357
2 changed files with 6 additions and 5 deletions

View File

@ -135,6 +135,12 @@ struct ldb_map_context {
const struct ldb_dn *remote_base_dn;
};
/* Global private data */
struct map_private {
void *caller_private;
struct ldb_map_context context;
};
/* initialization function */
int
ldb_map_init(struct ldb_module *module,

View File

@ -13,11 +13,6 @@ typedef int (*ldb_search_callback)(struct ldb_context *, void *, struct ldb_repl
/* Private data structures
* ======================= */
/* Global private data */
struct map_private {
struct ldb_map_context context;
};
/* Context data for mapped requests */
struct map_context {
enum map_step {