diff options
author | Jeremy Allison <jra@samba.org> | 2017-04-20 12:24:43 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-04-22 01:17:00 +0200 |
commit | 306783d6f5d577a0b8bd31d659d8c802f22f0333 (patch) | |
tree | 20e1c5a45b027d061d3dc0cab9028bbccaef7ab7 /auth/ntlmssp | |
parent | 9342b3ebf7fe7b7565406bd9a606b6676c08b029 (diff) | |
download | samba-306783d6f5d577a0b8bd31d659d8c802f22f0333.tar.gz |
lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *)
Not currently used - no logic changes inside.
This will make it possible to pass down a long-lived talloc
context from the loading function for modules to use instead
of having them internally all use talloc_autofree_context()
which is a hidden global.
Updated all known module interface numbers, and added a
WHATSNEW.
Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Ralph Böhme <slow@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Apr 22 01:17:00 CEST 2017 on sn-devel-144
Diffstat (limited to 'auth/ntlmssp')
-rw-r--r-- | auth/ntlmssp/ntlmssp.c | 2 | ||||
-rw-r--r-- | auth/ntlmssp/ntlmssp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/auth/ntlmssp/ntlmssp.c b/auth/ntlmssp/ntlmssp.c index 6f7c089467f..ec2f6d93172 100644 --- a/auth/ntlmssp/ntlmssp.c +++ b/auth/ntlmssp/ntlmssp.c @@ -252,7 +252,7 @@ static const struct gensec_security_ops gensec_ntlmssp_resume_ccache_ops = { .priority = GENSEC_NTLMSSP }; -_PUBLIC_ NTSTATUS gensec_ntlmssp_init(void) +_PUBLIC_ NTSTATUS gensec_ntlmssp_init(TALLOC_CTX *ctx) { NTSTATUS ret; diff --git a/auth/ntlmssp/ntlmssp.h b/auth/ntlmssp/ntlmssp.h index 24127686312..658d3fa86af 100644 --- a/auth/ntlmssp/ntlmssp.h +++ b/auth/ntlmssp/ntlmssp.h @@ -145,7 +145,7 @@ bool ntlmssp_blob_matches_magic(const DATA_BLOB *blob); /* The following definitions come from auth/ntlmssp/gensec_ntlmssp.c */ -NTSTATUS gensec_ntlmssp_init(void); +NTSTATUS gensec_ntlmssp_init(TALLOC_CTX *ctx); uint32_t gensec_ntlmssp_neg_flags(struct gensec_security *gensec_security); const char *gensec_ntlmssp_server_domain(struct gensec_security *gensec_security); |