52
55
static const struct protocol_backend protocol_backends[] = {
53
{ "about", 0, about_protocol_handler, 0, 0, 1, 0 },
54
{ "data", 0, data_protocol_handler, 0, 0, 1, 0 },
55
{ "file", 0, file_protocol_handler, 1, 0, 0, 0 },
56
{ "finger", 79, finger_protocol_handler, 1, 1, 0, 0 },
57
{ "ftp", 21, ftp_protocol_handler, 1, 1, 0, 0 },
58
{ "gopher", 70, gopher_protocol_handler, 1, 1, 0, 0 },
59
{ "http", 80, http_protocol_handler, 1, 1, 0, 0 },
60
{ "https", 443, https_protocol_handler, 1, 1, 0, 1 },
61
{ "javascript", 0, NULL, 0, 0, 1, 0 },
62
{ "news", 0, news_protocol_handler, 0, 0, 1, 0 },
63
{ "nntp", 119, nntp_protocol_handler, 1, 1, 0, 0 },
64
{ "nntps", 563, nntp_protocol_handler, 1, 1, 0, 1 },
65
{ "proxy", 3128, proxy_protocol_handler, 1, 1, 0, 0 },
66
{ "smb", 139, smb_protocol_handler, 1, 1, 0, 0 },
67
{ "snews", 0, news_protocol_handler, 0, 0, 1, 0 },
56
{ "about", 0, about_protocol_handler, 0, 0, 1, 0 },
57
{ "bittorrent", 0, bittorrent_protocol_handler, 0, 0, 1, 0 },
58
{ "data", 0, data_protocol_handler, 0, 0, 1, 0 },
59
{ "file", 0, file_protocol_handler, 1, 0, 0, 0 },
60
{ "finger", 79, finger_protocol_handler, 1, 1, 0, 0 },
61
{ "fsp", 21, fsp_protocol_handler, 1, 1, 0, 0 },
62
{ "ftp", 21, ftp_protocol_handler, 1, 1, 0, 0 },
63
{ "gopher", 70, gopher_protocol_handler, 1, 1, 0, 0 },
64
{ "http", 80, http_protocol_handler, 1, 1, 0, 0 },
65
{ "https", 443, https_protocol_handler, 1, 1, 0, 1 },
66
{ "javascript", 0, NULL, 0, 0, 1, 0 },
67
{ "news", 0, news_protocol_handler, 0, 0, 1, 0 },
68
{ "nntp", 119, nntp_protocol_handler, 1, 1, 0, 0 },
69
{ "nntps", 563, nntp_protocol_handler, 1, 1, 0, 1 },
70
{ "proxy", 3128, proxy_protocol_handler, 1, 1, 0, 0 },
71
{ "smb", 139, smb_protocol_handler, 1, 1, 0, 0 },
72
{ "snews", 0, news_protocol_handler, 0, 0, 1, 0 },
69
74
/* Keep these last! */
70
75
{ NULL, 0, NULL, 0, 0, 1, 0 },