summaryrefslogtreecommitdiff
path: root/source3/include/libsmbclient.h
diff options
context:
space:
mode:
authorPuran Chand <pchand@vmware.com>2018-01-10 13:13:44 +0530
committerMartin Schwenke <martins@samba.org>2018-01-21 07:08:23 +0100
commit3904c26ac860038518d4ffae781ddbbf23746715 (patch)
treebb45a69891287587ef66d8624978552431e74ec8 /source3/include/libsmbclient.h
parent7c1c8c68174ed484fe86a0d9e429daad3a47a57d (diff)
downloadsamba-3904c26ac860038518d4ffae781ddbbf23746715.tar.gz
Added smbc_SetConfiguration which lets the user set the smb.conf for libsmbclient code
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13229 Signed-off-by: Puran Chand <pchand@vmware.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/include/libsmbclient.h')
-rw-r--r--source3/include/libsmbclient.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index 38ba451a548..7a2067915af 100644
--- a/source3/include/libsmbclient.h
+++ b/source3/include/libsmbclient.h
@@ -483,6 +483,10 @@ void
smbc_setLogCallback(SMBCCTX *c, void *private_ptr,
smbc_debug_callback_fn fn);
+/** set configuration file, this is applied at global level */
+int
+smbc_setConfiguration(SMBCCTX *c, const char *file);
+
/** Get the netbios name used for making connections */
char *
smbc_getNetbiosName(SMBCCTX *c);