diff options
author | Andreas Schneider <asn@samba.org> | 2023-04-18 16:00:51 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2023-04-20 11:59:32 +0000 |
commit | ba4c322ac7877824e23856396a82123843162870 (patch) | |
tree | d89b2717a912222f7f4802ac75e9a0345c635087 /source3 | |
parent | 092a6a62e1f568543a01a48e193ef0acebf47caa (diff) | |
download | samba-ba4c322ac7877824e23856396a82123843162870.tar.gz |
s3:libsmb: Also deprecate smbc_init()
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/libsmbclient.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h index 857d1b452c0..6901b0bcdcb 100644 --- a/source3/include/libsmbclient.h +++ b/source3/include/libsmbclient.h @@ -1280,21 +1280,10 @@ SMBCCTX * smbc_init_context(SMBCCTX * context); /**@ingroup misc * Initialize the samba client library. * - * Must be called before using any of the smbclient API function - * - * @param fn The function that will be called to obtaion - * authentication credentials. - * - * @param debug Allows caller to set the debug level. Can be - * changed in smb.conf file. Allows caller to set - * debugging if no smb.conf. - * - * @return 0 on success, < 0 on error with errno set: - * - ENOMEM Out of memory - * - ENOENT The smb.conf file would not load - * + * @deprecated use smbc_init_context() + * @see smbc_init_context() */ - +DEPRECATED_SMBC_INTERFACE int smbc_init(smbc_get_auth_data_fn fn, int debug); /**@ingroup misc |