From 013f8cc7570a283e4c265d2a03920ff60f681885 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 6 Dec 2011 23:06:23 +0100 Subject: 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) --- src/plugins/relay/relay-config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/plugins/relay/relay-config.h') 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 + #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, -- cgit v1.2.3