s4:kdc Push context to hdb_samba4 by way of the 'name' of the DB
[ira/wip.git] / source4 / kdc / hdb-samba4.h
index 3a377ddf0b01318d03524f110e3945c8b194d9fb..0b39fdfb10d93183802c1f4eb0fec08da414d994 100644 (file)
 */
 
 extern TALLOC_CTX *hdb_samba4_mem_ctx;
-extern struct tevent_context *hdb_samba4_ev_ctx;
-extern struct loadparm_context *hdb_samba4_lp_ctx;
+
+struct hdb_samba4_context {
+       struct tevent_context *ev_ctx;
+       struct loadparm_context *lp_ctx;
+};
+
 extern struct hdb_method hdb_samba4;
 
 struct hdb_samba4_private {