vlcs.h 2.05 KB
Newer Older
1 2 3 4
/*****************************************************************************
 * vlcs.h: VideoLAN Channel Server configuration
 *****************************************************************************
 * Copyright (C) 2001 VideoLAN
5
 * $Id: vlcs.h,v 1.2 2002/12/20 15:53:59 marcari Exp $
6 7
 *
 * Authors: Christophe Massiot <massiot@via.ecp.fr>
8
 *          Marc Ariberti <marcari@via.ecp.fr>
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
 *
 * 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.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
 *****************************************************************************/

25
/* precise the bind address, useful when using IP aliasing 
26
 * do not define this symbol if you want to bind to INADDR_ANY or in6addr_any*/
27 28
/* #define BIND_ADDRESS "192.168.12.42" */

29
/* Uncomment this line to use IPv6 with vlcs by default */
30
/* #define IPV6 */
31

32 33 34
/* comment this line to not compile IPV6 support into vlcs */
#define IPV6_SUPPORT

35 36
#define VLCS_VERSION 13
#define VLCS_PORT 6010
37 38
#define CHANNEL_CONF_XML "vlcs.conf"
#define CHANNEL_CONF_TXT "vlcs-old.conf"
39

40 41 42 43 44
#define NO_COLORS       0
#define LINUX_COLORS    1

/* undefine this symbol to remove STDOUT logging */
#define LOG_STDOUT      LINUX_COLORS
45 46 47 48 49 50

/* undefine this symbol if you do not want to log to a file */
#define LOG_FILE "vlcs.log"

/* uncomment this symbol if you want to log to syslog */
/* #define SYSLOG_NAME "VLCS" */
51
#define SYSLOG_FACILITY LOG_DAEMON
52

53 54 55
int main( int argc, char ** argv );
void Close( int i_ret );

56
#undef DEBUG