mirror of
https://github.com/curl/curl.git
synced 2026-08-25 18:13:37 +03:00
smb: Added SMB protocol and port definitions
Added the necessary protocol and port definitions in order to support SMB/CIFS.
This commit is contained in:
parent
0627c48dde
commit
557658776f
4 changed files with 11 additions and 0 deletions
|
|
@ -40,6 +40,8 @@
|
|||
#define PORT_IMAPS 993
|
||||
#define PORT_POP3 110
|
||||
#define PORT_POP3S 995
|
||||
#define PORT_SMB 445
|
||||
#define PORT_SMBS 445
|
||||
#define PORT_SMTP 25
|
||||
#define PORT_SMTPS 465 /* sometimes called SSMTP */
|
||||
#define PORT_RTSP 554
|
||||
|
|
@ -64,6 +66,7 @@
|
|||
#define PROTO_FAMILY_HTTP (CURLPROTO_HTTP|CURLPROTO_HTTPS)
|
||||
#define PROTO_FAMILY_FTP (CURLPROTO_FTP|CURLPROTO_FTPS)
|
||||
#define PROTO_FAMILY_POP3 (CURLPROTO_POP3|CURLPROTO_POP3S)
|
||||
#define PROTO_FAMILY_SMB (CURLPROTO_SMB|CURLPROTO_SMBS)
|
||||
#define PROTO_FAMILY_SMTP (CURLPROTO_SMTP|CURLPROTO_SMTPS)
|
||||
|
||||
#define DEFAULT_CONNCACHE_SIZE 5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue