/[cvs]/eggdrop1.9/src/core_config.h
ViewVC logotype

Contents of /eggdrop1.9/src/core_config.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations) (download) (as text)
Sun Jan 11 12:02:38 2004 UTC (15 years, 5 months ago) by stdarg
Branch: MAIN
Changes since 1.6: +4 -1 lines
File MIME type: text/x-csrc
* Initial .whois command with whois_items variable to control displayed fields

1 /* core_config.h: header for core_config.c
2 *
3 * Copyright (C) 2003, 2004 Eggheads Development Team
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 * $Id: core_config.h,v 1.6 2003/12/16 21:45:35 wcc Exp $
20 */
21
22 #ifndef _EGG_CORE_CONFIG_H_
23 #define _EGG_CORE_CONFIG_H_
24
25 typedef struct {
26 /* General bot stuff. */
27 char *botname; /* Name of the bot as seen by user. */
28 char *userfile; /* File we store users in. */
29
30 /* Owner stuff. */
31 char *owner;
32 char *admin;
33
34 /* Paths. */
35 char *help_path;
36 char *temp_path;
37 char *text_path;
38 char *module_path;
39
40 /* Logfile. */
41 char *logfile_suffix;
42 int max_logsize;
43 int switch_logfiles_at;
44 int keep_all_logs;
45 int quick_logs;
46
47 /* Info to display in whois command. */
48 char *whois_items;
49
50 /* Other. */
51 int die_on_sigterm;
52 } core_config_t;
53
54 extern core_config_t core_config;
55
56 void core_config_init(const char *);
57 void core_config_save();
58
59 #endif /* !_EGG_CORE_CONFIG_H_ */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23