summaryrefslogtreecommitdiff
path: root/clients.c
blob: de3aa73e33f626f002f18589020915c5a8051c1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
struct client {
	char	*id;
	char	*name;
};

/* Azureus-style uses the following encoding:
	'-', two characters for client id,
	four ascii digits for version number,
	'-',
	followed by random numbers.

	For example: '-AZ2060-'...
 */

struct client azureus[] = {
	{ "AR", "Arctic" },
	{ "AX", "BitPump" },
	{ "AZ", "Azureus" },
	{ "BB", "BitBuddy" },
	{ "BC", "BitComet" },
	{ "BS", "BTSlave" },
	{ "BX", "Bittorrent X" },
	{ "CD", "Enahnced CTorrent" },
	{ "CT", "CTorrent" },
	{ "LP", "Lphant" },
	{ "LT", "libtorrent" },
	{ "lt", "libTorrent" },
	{ "MP", "MooPolice" },
	{ "MT", "MoonlightTorrent" },
	{ "QT", "Qt 4 Torrent example" },
	{ "RT", "Retriever" },
	{ "SB", "Swiftbit" },
	{ "SS", "SwarmScope" },
	{ "SZ", "Shareaza" },
	{ "TN", "TorrentDotNET" },
	{ "TR", "Transmission" },
	{ "TS", "Torrentstorm" },
	{ "UT", "uTorrent" },		/* µTorrent */
	{ "XT", "XanTorrent" },
	{ "XB", "XBitTorrent" },
	{ "ZT", "ZipTorrent" },
	{ NULL, NULL }
};

/* Shadow's style uses the following encoding:
	one ascii alphanumeric for client identification,
	three ascii digits for version number,
	'----',
	followed by random numbers.

	For example: 'S587----'...
 */

struct client shadow[] = {
	{ "A", "ABC" },
	{ "O", "Osprey Permaseed" },
	{ "R", "Tribler" },
	{ "S", "Shadow's client" },
	{ "T", "BitTornado" },
	{ "U", "UPnP NAT Bit Torrent" },
	{ NULL, NULL }
};

/* Bram's client now uses this style... 'M3-4-2--' */

struct client bram[] = {
	{ "M", "BitTorrent" },
	{ NULL, NULL }
};