/[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.3 - (show annotations) (download) (as text)
Sun Feb 16 11:15:06 2003 UTC (16 years, 2 months ago) by stdarg
Branch: MAIN
Changes since 1.2: +10 -0 lines
File MIME type: text/x-csrc
* Variables can be linked to config now (auto-update).
* config_str bind for changes to config strings

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 /* Telnet stuff. */
20 char *telnet_vhost;
21 int telnet_port;
22 int telnet_stealth;
23 int telnet_max_retries;
24
25 /* Logfile. */
26 char *logfile_suffix;
27 int max_logsize;
28 int switch_logfiles_at;
29 int keep_all_logs;
30 int quick_logs;
31 } core_config_t;
32
33 extern core_config_t core_config;
34
35 void core_config_init();
36 void core_config_save();
37
38 #endif

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23