/[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.6 - (hide annotations) (download) (as text)
Tue Dec 16 21:45:35 2003 UTC (15 years, 10 months ago) by wcc
Branch: MAIN
Changes since 1.5: +24 -3 lines
File MIME type: text/x-csrc
* src/ cleanups.

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     * $Id: $
20     */
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     /* Other. */
48     int die_on_sigterm;
49 stdarg 1.1 } core_config_t;
50    
51     extern core_config_t core_config;
52    
53 wcc 1.5 void core_config_init(const char *);
54 stdarg 1.1 void core_config_save();
55    
56 wcc 1.6 #endif /* !_EGG_CORE_CONFIG_H_ */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23