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

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

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


Revision 1.7 - (hide 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 wcc 1.6 /* 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 stdarg 1.7 * $Id: core_config.h,v 1.6 2003/12/16 21:45:35 wcc Exp $
20 wcc 1.6 */
21    
22     #ifndef _EGG_CORE_CONFIG_H_
23     #define _EGG_CORE_CONFIG_H_
24 stdarg 1.1
25     typedef struct {
26 stdarg 1.2 /* General bot stuff. */
27 stdarg 1.1 char *botname; /* Name of the bot as seen by user. */
28     char *userfile; /* File we store users in. */
29    
30 stdarg 1.3 /* 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 stdarg 1.2 /* Logfile. */
41     char *logfile_suffix;
42     int max_logsize;
43     int switch_logfiles_at;
44     int keep_all_logs;
45     int quick_logs;
46 wcc 1.5
47 stdarg 1.7 /* Info to display in whois command. */
48     char *whois_items;
49    
50 wcc 1.5 /* Other. */
51     int die_on_sigterm;
52 stdarg 1.1 } core_config_t;
53    
54     extern core_config_t core_config;
55    
56 wcc 1.5 void core_config_init(const char *);
57 stdarg 1.1 void core_config_save();
58    
59 wcc 1.6 #endif /* !_EGG_CORE_CONFIG_H_ */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23