aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBill Nagel <wnagel@tycoint.com>2014-11-29 14:19:23 -0500
committerSteve Holme <steve_holme@hotmail.com>2014-11-29 21:26:40 +0000
commit557658776ffb63c5f008d8bddfd7958e616d789b (patch)
treecb1c2e68e0c2391041edbea0691a11531967839d /lib
parent0627c48ddea7d304074e1e5fdbc2f282f9dfcad5 (diff)
smb: Added SMB protocol and port definitions
Added the necessary protocol and port definitions in order to support SMB/CIFS.
Diffstat (limited to 'lib')
-rw-r--r--lib/urldata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index d0746b41f..97796b75c 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -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