summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-config.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-12-06 23:06:23 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-12-06 23:06:23 +0100
commit013f8cc7570a283e4c265d2a03920ff60f681885 (patch)
treea81404bd4af44aef206b68a069e05b15ee6315a1 /src/plugins/relay/relay-config.h
parent00a3f990b3e512a7dc14343dd522a3a8497c4762 (diff)
downloadweechat-013f8cc7570a283e4c265d2a03920ff60f681885.zip
relay: add WeeChat protocol (for remote GUI), doc about protocol, new options
The protocol is partial, under development, and NOT ready for usage. New options added in relay.conf: - relay.network.allowed_ips: allow only some IPs on relay plugin (by default all IPs are allowed) - relay.network.compression_level: compression level used in WeeChat protocol (compression is made using zlib)
Diffstat (limited to 'src/plugins/relay/relay-config.h')
-rw-r--r--src/plugins/relay/relay-config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/relay/relay-config.h b/src/plugins/relay/relay-config.h
index fabd7c574..035acd8ef 100644
--- a/src/plugins/relay/relay-config.h
+++ b/src/plugins/relay/relay-config.h
@@ -20,6 +20,8 @@
#ifndef __WEECHAT_RELAY_CONFIG_H
#define __WEECHAT_RELAY_CONFIG_H 1
+#include <regex.h>
+
#define RELAY_CONFIG_NAME "relay"
extern struct t_config_file *relay_config_file;
@@ -36,6 +38,9 @@ extern struct t_config_option *relay_config_color_status[];
extern struct t_config_option *relay_config_network_bind_address;
extern struct t_config_option *relay_config_network_max_clients;
extern struct t_config_option *relay_config_network_password;
+extern struct t_config_option *relay_config_network_compression_level;
+
+extern regex_t *relay_config_regex_allowed_ips;
extern int relay_config_create_option_port (void *data,
struct t_config_file *config_file,