1 // ------------------------------------------------
6 // (c) 2005 peercast.org
7 // ------------------------------------------------
8 // This program is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // (at your option) any later version.
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
17 // ------------------------------------------------
22 // ------------------------------------------------
23 #ifdef PRIVATE_BROADCASTER
24 static const char PCP_BROADCAST_FLAGS = 0x01;
25 static bool PCP_FORCE_YP = true;
27 static const char PCP_BROADCAST_FLAGS = 0x00;
28 static bool PCP_FORCE_YP = false;
30 // ------------------------------------------------
31 static const int PCP_CLIENT_VERSION = 1217;
32 static const int PCP_CLIENT_VERSION_VP = 23;
33 static const int PCP_ROOT_VERSION = 1212;
35 static const int PCP_CLIENT_MINVERSION = 1200;
37 static const char *PCX_AGENT = "PeerCast/0.1217";
38 static const char *PCX_AGENTJP = "PeerCast/0.1217-J";
39 static const char *PCX_AGENTVP = "PeerCast/0.1217(VP0023)";
40 static const char *PCX_VERSTRING = "v0.1217(VP0023)";
42 #if 1 /* for VP extend version */
44 static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only
45 static const int PCP_CLIENT_VERSION_EX_NUMBER = 7651;
46 static const char *PCX_AGENTEX = "PeerCast/0.1217(IM7651)";
47 static const char *PCX_VERSTRING_EX = "v0.1217(IM7651)";
50 // ------------------------------------------------