r26205: Pass loadparm_context to secrets_db_connect() rather than using global context.
[jelmer/samba4-debian.git] / source / param / secrets.h
index 5aabb849c5c1482549387671fb7f587ec804c2db..9d98db0d084c3ca721a45bf69dc8e98724ce1a1a 100644 (file)
@@ -44,9 +44,9 @@ struct machine_acct_pass {
  */
 void secrets_shutdown(void);
 bool secrets_init(void);
-struct ldb_context *secrets_db_connect(TALLOC_CTX *mem_ctx);
-struct dom_sid *secrets_get_domain_sid(TALLOC_CTX *mem_ctx,
-                                      const char *domain);
+struct loadparm_context;
+struct ldb_context *secrets_db_connect(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx);
+struct dom_sid *secrets_get_domain_sid(TALLOC_CTX *mem_ctx, const char *domain);
 
 
 #endif /* _SECRETS_H */