Debian Codegraph @

src/d2dbs/setup.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2001 sousou ([email protected])
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 */
18 #ifndef INLCUDED_D2DBS_SETUP_H
19 #define INLCUDED_D2DBS_SETUP_Hcxx . . $ `src/d2dbs/setup.h:19:9`!
20
21 #if !defined(MAX_PATH) && !defined(WIN32)
22 # define MAX_PATHcxx . . $ `src/d2dbs/setup.h:22:10`! 1024
23 #endif
24
25 #define tfcxx . . $ `src/d2dbs/setup.h:25:9`!(a) ((a)?1:0)
26 #define SELECT_TIME_OUTcxx . . $ `src/d2dbs/setup.h:26:9`! 20000
27 constexpr long kBufferSizecxx . . $ kBufferSize. = 1024L * 20L;
28 #define kMaxPacketLengthcxx . . $ `src/d2dbs/setup.h:28:9`! (1024*5)
29
30 #define DEFAULT_LOG_FILEcxx . . $ `src/d2dbs/setup.h:30:9`! "/usr/local/var/d2dbs.std::log"
31 #define DEFAULT_LOG_FILE_GScxx . . $ `src/d2dbs/setup.h:31:9`! "/usr/local/var/d2dbs-gs.std::log"
32 #define DEFAULT_LOG_LEVELScxx . . $ `src/d2dbs/setup.h:32:9`! "info,warn,error"
33 #define D2DBS_CHARSAVE_DIRcxx . . $ `src/d2dbs/setup.h:33:9`! "/usr/local/var/charsave"
34 #define D2DBS_CHARINFO_DIRcxx . . $ `src/d2dbs/setup.h:34:9`! "/usr/local/var/charinfo"
35 #define D2DBS_CHARSAVEBAK_DIRcxx . . $ `src/d2dbs/setup.h:35:9`! "/usr/local/var/bak/charsave"
36 #define D2DBS_CHARINFOBAK_DIRcxx . . $ `src/d2dbs/setup.h:36:9`! "/usr/local/var/bak/charinfo"
37 #define D2DBS_LADDER_DIRcxx . . $ `src/d2dbs/setup.h:37:9`! "/usr/local/var/ladders"
38 #ifndef D2DBS_DEFAULT_CONF_FILEcxx . . $ `build/config.h:90:9`!
39 # define D2DBS_DEFAULT_CONF_FILE "conf/d2dbs.conf"
40 #endif
41 #define DEFAULT_MEMLOG_FILEcxx . . $ `src/d2dbs/setup.h:41:9`! "/tmp/d2dbs-mem.std::log"
42 #define DEFAULT_LISTEN_PORTcxx . . $ `src/d2dbs/setup.h:42:9`! 6114
43 #define D2DBS_SERVER_ADDRScxx . . $ `src/d2dbs/setup.h:43:9`! "0.0.0.0"
44 #define D2GS_SERVER_LISTcxx . . $ `src/d2dbs/setup.h:44:9`! "192.168.0.1"
45 #define LOG_LEVELcxx . . $ `src/d2dbs/setup.h:45:9`! LOG_MSG
46 #define DEFAULT_GS_MAXcxx . . $ `src/d2dbs/setup.h:46:9`! 256
47 #define DEFAULT_SHUTDOWN_DELAYcxx . . $ `src/d2dbs/setup.h:47:9`! 300
48 #define DEFAULT_SHUTDOWN_DECRcxx . . $ `src/d2dbs/setup.h:48:9`! 60
49 #define DEFAULT_IDLETIMEcxx . . $ `src/d2dbs/setup.h:49:9`! 300
50 #define DEFAULT_KEEPALIVE_INTERVALcxx . . $ `src/d2dbs/setup.h:50:9`! 60
51 #define DEFAULT_TIMEOUT_CHECKINTERVALcxx . . $ `src/d2dbs/setup.h:51:9`! 60
52 #define DEFAULT_LADDERUPDATE_THRESHOLDcxx . . $ `src/d2dbs/setup.h:52:9`! 0
53
54 #endif