1
/* Copyright (C) 2000-2006 Thomas Bopp, Thorsten Hampel, Ludger Merkens
3
* This program is free software; you can redistribute it and/or modify
4
* it under the terms of the GNU General Public License as published by
5
* the Free Software Foundation; either version 2 of the License, or
6
* (at your option) any later version.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
* $Id: config.h,v 1.33 2006/10/13 14:58:04 exodusd Exp $
25
//#define DEBUG_MEMORY
27
//#define DEBUG_SECURITY
28
//#define DEBUG_EVENTS 1
29
//#define DEBUG_HTTP 1
30
//#define DEBUG_SECURITY
32
#define LOG_LEVEL_NONE 0
33
#define LOG_LEVEL_ERROR 1
34
#define LOG_LEVEL_WARNING 2
35
#define LOG_LEVEL_INFO 3
36
#define LOG_LEVEL_DEBUG 4
38
#define USER_SCRIPTS 0
40
#define BLOCK_SIZE 32000
41
#define DB_CHUNK_SIZE 8192
42
#define SOCKET_READ_SIZE 65536
43
#define HTTP_MAX_BODY 20000000
49
#define OBJ_COAL "/kernel/securesocket.pike"
50
#define OBJ_SCOAL "/kernel/securesocket.pike"
51
#define OBJ_NNTP "/net/nntp.pike"
52
#define OBJ_SMTP "/net/smtp.pike"
53
#define OBJ_SMB "/net/smb.pike"
54
#define OBJ_IMAP "/net/imap.pike"
55
#define OBJ_POP3 "/net/pop3.pike"
56
#define OBJ_IRC "/net/irc.pike"
57
#define OBJ_FTP "/net/ftp.pike"
58
#define OBJ_JABBER "/net/jabber.pike"
59
#define OBJ_TELNET "/net/telnet.pike"
60
#define OBJ_XMLRPC "/net/xmlrpc.pike"
62
#define STEAM_VERSION "2.2.31"
64
#define CLASS_PATH "classes/"
66
#define LOGFILE_DB "database.log"
67
#define LOGFILE_SECURITY "security.log"
68
#define LOGFILE_ERROR "errors.log"
69
#define LOGFILE_BOOT "boot.log"
70
#define LOGFILE_EVENT "events.log"
71
#define LOGFILE_DEBUG "debug.log"
73
#define STEAM_DB_CONNECT _Server->get_database()
75
#define CFG_WEBSERVER "web_server"
76
#define CFG_WEBPORT_HTTP "web_port_http"
77
#define CFG_WEBPORT_FTP "web_port_ftp"
78
#define CFG_WEBPORT "web_port_"
79
#define CFG_WEBPORT_URL "web_port"
80
#define CFG_WEBMOUNT "web_mount"
81
#define CFG_MAILSERVER "mail_server"
82
#define CFG_MAILPORT "mail_port"
83
#define CFG_EMAIL "account_email"
84
#define CFG_DOMAIN "domain"
87
#define CFG_WEBPORT_PRESENTATION "web_port"
88
#define CFG_WEBPORT_ADMINISTRATION "web_port_http"