1//
2// This file is part of the aMule Project.
3//
4// Copyright (c) 2003-2011 aMule Team ( admin@amule.org / http://www.amule.org )
5// Copyright (c) 2002-2011 Merkur ( devs@emule-project.net / http://www.emule-project.net )
6//
7// Any parts of this program derived from the xMule, lMule or eMule project,
8// or contributed by third-party developers are copyrighted by their
9// respective authors.
10//
11// This program is free software; you can redistribute it and/or modify
12// it under the terms of the GNU General Public License as published by
13// the Free Software Foundation; either version 2 of the License, or
14// (at your option) any later version.
15//
16// This program is distributed in the hope that it will be useful,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19// GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program; if not, write to the Free Software
23// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA
24//
25
26#ifndef SERVERTAGS_H
27#define SERVERTAGS_H
28
29// server.met and server status.
30enum Server_tags {
31	ST_SERVERNAME		= 0x01,	// <string>
32	// Unused (0x02-0x0A)
33	ST_DESCRIPTION		= 0x0B,	// <string>
34	ST_PING			= 0x0C,	// <uint32>
35	ST_FAIL			= 0x0D,	// <uint32>
36	ST_PREFERENCE		= 0x0E,	// <uint32>
37	// Unused (0x0F-0x84)
38	ST_DYNIP		= 0x85,
39	ST_LASTPING_DEPRECATED	= 0x86,	// <uint32> // DEPRECATED, use 0x90
40	ST_MAXUSERS		= 0x87,
41	ST_SOFTFILES		= 0x88,
42	ST_HARDFILES		= 0x89,
43	// Unused (0x8A-0x8F)
44	ST_LASTPING		= 0x90,	// <uint32>
45	ST_VERSION		= 0x91,	// <string>
46	ST_UDPFLAGS		= 0x92,	// <uint32>
47	ST_AUXPORTSLIST		= 0x93,	// <string>
48	ST_LOWIDUSERS		= 0x94,	// <uint32>
49	ST_UDPKEY		= 0x95,	// <uint32>
50	ST_UDPKEYIP		= 0x96,	// <uint32>
51	ST_TCPPORTOBFUSCATION	= 0x97,	// <uint16>
52	ST_UDPPORTOBFUSCATION	= 0x98	// <uint16>
53};
54
55#endif // SERVERTAGS_H
56