Debian Codegraph @

src/d2dbs/prefs.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2000,2001 Onlyer ([email protected])
3 * Copyright (C) 2001 sousou ([email protected])
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 */
19 #ifndef INCLUDED_PREFS_H
20 #define INCLUDED_PREFS_H
21
22 namespace pvpgn
23 {
24
25 namespace d2dbs
26 {
27
28 extern int d2dbs_prefs_load(char const * filename);
29 extern int d2dbs_prefs_reload(char const * filename);
30 extern int d2dbs_prefs_unload(void);
31
32 extern char const * d2dbs_prefs_get_logfile(void);
33 extern char const * prefs_get_logfile_gs(void);
34 extern char const * d2dbs_prefs_get_servaddrs(void);
35 extern char const * d2dbs_prefs_get_charsave_dir(void);
36 extern char const * d2dbs_prefs_get_charinfo_dir(void);
37 extern char const * prefs_get_charsave_bak_dir(void);
38 extern char const * prefs_get_charinfo_bak_dir(void);
39 extern char const * d2dbs_prefs_get_ladder_dir(void);
40 extern char const * d2dbs_prefs_get_d2gs_list(void);
41 extern unsigned int prefs_get_laddersave_interval(void);
42 extern unsigned int prefs_get_ladderinit_time(void);
43 extern char const * d2dbs_prefs_get_loglevels(void);
44 extern unsigned int d2dbs_prefs_get_shutdown_delay(void);
45 extern unsigned int d2dbs_prefs_get_shutdown_decr(void);
46 extern unsigned int d2dbs_prefs_get_idletime(void);
47 extern unsigned int prefs_get_keepalive_interval(void);
48 extern unsigned int d2dbs_prefs_get_timeout_checkinterval(void);
49 extern unsigned int d2dbs_prefs_get_XML_output_ladder(void);
50 extern unsigned int prefs_get_ladderupdate_threshold(void);
51 extern unsigned int prefs_get_ladder_chars_only(void);
52 extern unsigned int prefs_get_difficulty_hack(void);
53 extern char const * d2dbs_prefs_get_pidfile(void);
54
55 }
56
57 }
58
59 #endif