summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/modules')
-rw-r--r--source4/lib/ldb/modules/ldb_map.h6
-rw-r--r--source4/lib/ldb/modules/ldb_map_private.h5
2 files changed, 6 insertions, 5 deletions
diff --git a/source4/lib/ldb/modules/ldb_map.h b/source4/lib/ldb/modules/ldb_map.h
index 99231e61f1..edd3eca871 100644
--- a/source4/lib/ldb/modules/ldb_map.h
+++ b/source4/lib/ldb/modules/ldb_map.h
@@ -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,
diff --git a/source4/lib/ldb/modules/ldb_map_private.h b/source4/lib/ldb/modules/ldb_map_private.h
index 89d0fe0afe..4fff5614af 100644
--- a/source4/lib/ldb/modules/ldb_map_private.h
+++ b/source4/lib/ldb/modules/ldb_map_private.h
@@ -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 {