mirror of
https://github.com/ksherlock/gopher.git
synced 2024-11-01 00:11:10 +00:00
add dict protocol
This commit is contained in:
parent
d1436d45df
commit
394aa110c7
13
url.h
13
url.h
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user