config.h
Go to the documentation of this file.
1 /* Copyright (C) 2000-2006 Thomas Bopp, Thorsten Hampel, Ludger Merkens
2  *
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.
7  *
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.
12  *
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
16  *
17  * $Id: config.h,v 1.6 2010/01/23 08:40:29 astra Exp $
18  */
19 
20 #ifndef _CONFIG_H
21 #define _CONFIG_H
22 
23 #define USE_LOCAL_SQLCONNECT 1
24 //#define DEBUG 1
25 //#define DEBUG_MEMORY
26 //#define EVENT_DEBUG
27 #define DEBUG_PROFILE 1
28 //#define VERIFY_CMOD 1
29 #define DEBUG_SECURITY
30 #define DEBUG_EVENTS 1
31 //#define DEBUG_HTTP 1
32 #define DEBUG_SECURITY
33 //#define TASK_DEBUG 1
34 //#define DEBUG_PROTOCOLL
35 //#define EVENT_DEBUG
36 
37 #define LOG_LEVEL_NONE 0
38 #define LOG_LEVEL_ERROR 1
39 #define LOG_LEVEL_WARNING 2
40 #define LOG_LEVEL_INFO 3
41 #define LOG_LEVEL_DEBUG 4
42 
43 #define USER_SCRIPTS 0
44 
45 #define BLOCK_SIZE 32000
46 #define DB_CHUNK_SIZE 8192
47 #define SOCKET_READ_SIZE 65536
48 #define HTTP_MAX_BODY 20000000
49 #define MIMETYPE_UNKNOWN "application/x-unknown-content-type"
50 
51 #define WEBDAV_CLASS2
52 
53 #define READ_ONCE 80
54 
55 #define OBJ_COAL "/kernel/securesocket.pike"
56 #define OBJ_SCOAL "/kernel/securesocket.pike"
57 #define OBJ_NNTP "/net/nntp.pike"
58 #define OBJ_SMTP "/net/smtp.pike"
59 #define OBJ_SMB "/net/smb.pike"
60 #define OBJ_IMAP "/net/imap.pike"
61 #define OBJ_POP3 "/net/pop3.pike"
62 #define OBJ_IRC "/net/irc.pike"
63 #define OBJ_FTP "/net/ftp.pike"
64 #define OBJ_JABBER "/net/jabber.pike"
65 #define OBJ_TELNET "/net/telnet.pike"
66 #define OBJ_XMLRPC "/net/xmlrpc.pike"
67 
68 #define STEAM_VERSION "2.9.5"
69 
70 #define CLASS_PATH "classes/"
71 
72 #define LOGFILE_DB "database.log"
73 #define LOGFILE_SECURITY "security.log"
74 #define LOGFILE_ERROR "errors.log"
75 #define LOGFILE_BOOT "boot.log"
76 #define LOGFILE_EVENT "events.log"
77 #define LOGFILE_DEBUG "debug.log"
78 
79 #define STEAM_DB_CONNECT _Server->get_database()
80 
81 #define CFG_WEBSERVER "web_server"
82 #define CFG_WEBPORT_HTTP "web_port_http"
83 #define CFG_WEBPORT_FTP "web_port_ftp"
84 #define CFG_WEBPORT "web_port_"
85 #define CFG_WEBPORT_URL "web_port"
86 #define CFG_WEBMOUNT "web_mount"
87 #define CFG_MAILSERVER "mail_server"
88 #define CFG_MAILPORT "mail_port"
89 #define CFG_EMAIL "account_email"
90 #define CFG_DOMAIN "domain"
91 
92 
93 #define CFG_WEBPORT_PRESENTATION "web_port"
94 #define CFG_WEBPORT_ADMINISTRATION "web_port_http"
95 
96 #define THREAD_READ 1
97 
98 #endif
99 
100 
101 
102 
103 
104 
105 
106 
107 
108 
109 
110 
111 
112 
113 
114 
115 
116 
117 
118 
119 
120 
121 
122 
123 
124 
125 
126 
127 
128 
129 
130 
131