/[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.5 - (show annotations) (download) (as text)
Tue Dec 16 03:13:51 2003 UTC (15 years, 4 months ago) by wcc
Branch: MAIN
Changes since 1.4: +4 -1 lines
File MIME type: text/x-csrc
* main.c cleanups.
* Added pidfile and die_on_sigterm to config.
* Added 'act' party command.
* Started a 'status' party command.
* Removed config.tcl.
* General cleanups.

1 #ifndef _CORE_CONFIG_H_
2 #define _CORE_CONFIG_H_
3
4 typedef struct {
5 /* General bot stuff. */
6 char *botname; /* Name of the bot as seen by user. */
7 char *userfile; /* File we store users in. */
8
9 /* Owner stuff. */
10 char *owner;
11 char *admin;
12
13 /* Paths. */
14 char *help_path;
15 char *temp_path;
16 char *text_path;
17 char *module_path;
18
19 /* Logfile. */
20 char *logfile_suffix;
21 int max_logsize;
22 int switch_logfiles_at;
23 int keep_all_logs;
24 int quick_logs;
25
26 /* Other. */
27 int die_on_sigterm;
28 } core_config_t;
29
30 extern core_config_t core_config;
31
32 void core_config_init(const char *);
33 void core_config_save();
34
35 #endif

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23