add dict protocol

This commit is contained in:
Kelvin Sherlock 2012-09-10 19:23:02 -04:00
parent d1436d45df
commit 394aa110c7

13
url.h
View File

@ -2,20 +2,21 @@
#define __url_h__ #define __url_h__
enum { enum {
SCHEME_UNKNOWN = -1, SCHEME_UNKNOWN = 0xffff,
SCHEME_NONE = 0, SCHEME_NONE = 0,
SCHEME_FILE = 0xfffe, SCHEME_FILE = 0xfffe,
SCHEME_AFP = 548,
SCHEME_DICT = 2628,
SCHEME_FTP = 21, SCHEME_FTP = 21,
SCHEME_GOPHER = 70, SCHEME_GOPHER = 70,
SCHEME_HTTP = 80, SCHEME_HTTP = 80,
SCHEME_HTTPS = 443, SCHEME_HTTPS = 443,
SCHEME_NFS = 2049,
SCHEME_NNTP = 119, SCHEME_NNTP = 119,
SCHEME_TELNET = 23,
SCHEME_SSH = 22,
SCHEME_SFTP = 115, SCHEME_SFTP = 115,
SCHEME_AFP = 548, SCHEME_SSH = 22,
SCHEME_NFS = 2049 SCHEME_TELNET = 23
}; };
typedef struct URLRange { typedef struct URLRange {