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 = 1218;
32 static const int PCP_CLIENT_VERSION_VP = 27;
33 static const int PCP_ROOT_VERSION = 1218;
35 static const int PCP_CLIENT_MINVERSION = 1200;
37 static const char *PCX_AGENT = "PeerCast/0.1218";
38 static const char *PCX_AGENTJP = "PeerCast/0.1218-J";
39 static const char *PCX_AGENTVP = "PeerCast/0.1218(VP0027)";
40 static const char *PCX_VERSTRING = "v0.1218(VP0027)";
42 extern int version_ex; // PP
\94Å
\8ag
\92£
\8b@
\94\
\97L
\8cø
\89»
\83t
\83\89\83O(
\82½
\82Ô
\82ñ)
\81©
\91å
\89R[VERSION_EX
\97L
\8cø
\89»
\83t
\83\89\83O]
44 #if 1 /* for VP extend version */
45 //#define VERSION_EX 1
46 static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only
47 static const int PCP_CLIENT_VERSION_EX_NUMBER = 35;
48 static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0035)";
49 static const char *PCX_VERSTRING_EX = "v0.1218(IM0035)";
52 // ------------------------------------------------