version2.h

来自「peercast的源码」· C头文件 代码 · 共 43 行

H
43
字号
// ------------------------------------------------
// File : version2.h
// Date: 17-june-2005
// Author: giles
//
// (c) 2005 peercast.org
// ------------------------------------------------
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// ------------------------------------------------

#ifndef _VERSION2_H
#define _VERSION2_H

// ------------------------------------------------
#ifdef PRIVATE_BROADCASTER
static const char PCP_BROADCAST_FLAGS	= 0x01;	
static bool	PCP_FORCE_YP				= true;
#else
static const char PCP_BROADCAST_FLAGS	= 0x00;	
static bool	PCP_FORCE_YP				= false;
#endif
// ------------------------------------------------
static const int PCP_CLIENT_VERSION		= 1217;
static const int PCP_ROOT_VERSION		= 1217;

static const int PCP_CLIENT_MINVERSION	= 1200;

static const char *PCX_AGENT 		= "PeerCast/0.1217";	
static const char *PCX_VERSTRING	= "v0.1217";

// ------------------------------------------------


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?