summaryrefslogtreecommitdiff
path: root/src/common/weeconfig.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-01-05 23:07:08 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-01-05 23:07:08 +0000
commit6d3c24361d8efc5b14e6b6cf1aba13d294b32078 (patch)
treec278a8a0dd58c9f485979565075ba7fd3b98f75f /src/common/weeconfig.h
parent2f5c9a8fd480c7ba0caa1a88ae832f6ea8edfd79 (diff)
downloadweechat-6d3c24361d8efc5b14e6b6cf1aba13d294b32078.zip
Improved /set command: new colors, server options can be changed while WeeChat is running
Diffstat (limited to 'src/common/weeconfig.h')
-rw-r--r--src/common/weeconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/weeconfig.h b/src/common/weeconfig.h
index e92a6e61d..7e10c4255 100644
--- a/src/common/weeconfig.h
+++ b/src/common/weeconfig.h
@@ -21,6 +21,8 @@
#ifndef __WEECHAT_CONFIG_H
#define __WEECHAT_CONFIG_H 1
+#include "../irc/irc.h"
+
#define WEECHAT_CONFIG_NAME "weechat.rc"
#define CONFIG_SECTION_NONE -1
@@ -179,6 +181,8 @@ extern void config_change_color ();
extern int config_option_set_value (t_config_option *, char *);
extern t_config_option *config_option_search (char *);
extern int config_set_value (char *, char *);
+extern void *config_get_server_option_ptr (t_irc_server *, char *);
+extern int config_set_server_value (t_irc_server *, char *, char *);
extern int config_read ();
extern int config_create_default ();
extern int config_write ();