Author: abartlet
Date: 2006-08-22 04:15:39 +0000 (Tue, 22 Aug 2006)
New Revision: 17691

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17691

Log:
Make the structure more public, so we have somewhere for calling
modules to put private data.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/lib/ldb/modules/ldb_map.h
   branches/SAMBA_4_0/source/lib/ldb/modules/ldb_map_private.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/modules/ldb_map.h
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/modules/ldb_map.h 2006-08-22 04:05:36 UTC 
(rev 17690)
+++ branches/SAMBA_4_0/source/lib/ldb/modules/ldb_map.h 2006-08-22 04:15:39 UTC 
(rev 17691)
@@ -135,6 +135,12 @@
        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,

Modified: branches/SAMBA_4_0/source/lib/ldb/modules/ldb_map_private.h
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/modules/ldb_map_private.h 2006-08-22 
04:05:36 UTC (rev 17690)
+++ branches/SAMBA_4_0/source/lib/ldb/modules/ldb_map_private.h 2006-08-22 
04:15:39 UTC (rev 17691)
@@ -13,11 +13,6 @@
 /* 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 {

Reply via email to