libcurl: Enable support for the SMB protocol

This patch enables SMB/CIFS support in libcurl.
This commit is contained in:
Bill Nagel
2014-11-30 11:18:46 -05:00
committed by Steve Holme
parent d95cb3edc8
commit 6f2419342f
2 changed files with 15 additions and 0 deletions

View File

@@ -216,6 +216,13 @@ static const char * const protocols[] = {
#ifdef USE_LIBSSH2
"sftp",
#endif
#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM) && \
!defined(USE_WINDOWS_SSPI)
"smb",
# ifdef USE_SSL
"smbs",
# endif
#endif
#ifndef CURL_DISABLE_SMTP
"smtp",
#endif