mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
libcurl: Enable support for the SMB protocol
This patch enables SMB/CIFS support in libcurl.
This commit is contained in:
parent
d95cb3edc8
commit
6f2419342f
@ -216,6 +216,14 @@ static const struct Curl_handler * const protocols[] = {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM) && \
|
||||||
|
!defined(USE_WINDOWS_SSPI)
|
||||||
|
&Curl_handler_smb,
|
||||||
|
#ifdef USE_SSL
|
||||||
|
&Curl_handler_smbs,
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef CURL_DISABLE_SMTP
|
#ifndef CURL_DISABLE_SMTP
|
||||||
&Curl_handler_smtp,
|
&Curl_handler_smtp,
|
||||||
#ifdef USE_SSL
|
#ifdef USE_SSL
|
||||||
|
@ -216,6 +216,13 @@ static const char * const protocols[] = {
|
|||||||
#ifdef USE_LIBSSH2
|
#ifdef USE_LIBSSH2
|
||||||
"sftp",
|
"sftp",
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM) && \
|
||||||
|
!defined(USE_WINDOWS_SSPI)
|
||||||
|
"smb",
|
||||||
|
# ifdef USE_SSL
|
||||||
|
"smbs",
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
#ifndef CURL_DISABLE_SMTP
|
#ifndef CURL_DISABLE_SMTP
|
||||||
"smtp",
|
"smtp",
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user