summaryrefslogtreecommitdiffstats
path: root/source4/param/secrets.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-01 15:26:00 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-01 15:26:00 +0200
commit39b2fc37f2f8d914a6e5945b5b503ee4e7b9f5f3 (patch)
treef0b4923151c3ca722e4001331f97d7833a7e7537 /source4/param/secrets.h
parent7fd96c5b04177a412d9ef12b2f4620b587fe8ed6 (diff)
downloadsamba-39b2fc37f2f8d914a6e5945b5b503ee4e7b9f5f3.tar.gz
samba-39b2fc37f2f8d914a6e5945b5b503ee4e7b9f5f3.tar.xz
samba-39b2fc37f2f8d914a6e5945b5b503ee4e7b9f5f3.zip
Add context pointer to secrets functions.
(This used to be commit 873941d8a8dca8e7ace83f9af9939e4264f78c96)
Diffstat (limited to 'source4/param/secrets.h')
-rw-r--r--source4/param/secrets.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/param/secrets.h b/source4/param/secrets.h
index 4a9eb25e7e0..bd6ff4a4015 100644
--- a/source4/param/secrets.h
+++ b/source4/param/secrets.h
@@ -43,8 +43,7 @@ struct machine_acct_pass {
* @note Not called by systems with a working /dev/urandom.
*/
struct loadparm_context;
-void secrets_shutdown(void);
-bool secrets_init(struct loadparm_context *lp_ctx);
+struct tdb_wrap *secrets_init(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx);
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, struct loadparm_context *lp_ctx, const char *domain);