aboutsummaryrefslogtreecommitdiffstats
path: root/conf.h
diff options
context:
space:
mode:
authorulim <a.sporto+bee@gmail.com>2008-08-12 01:07:12 +0200
committerulim <a.sporto+bee@gmail.com>2008-08-12 01:07:12 +0200
commita02f34fb047af728f991ced3688c5e804c130878 (patch)
tree7eb7c22889aad7f06d2f22fe4920ff8c4005ece5 /conf.h
parent66be7849ef6b74c39bc8f1dc1d96bc4788eb50a0 (diff)
Added conf entries and lib/ftutil.[ch].
ft_listen = <IP-A>:<Port-A>;<IP-B>:<Port-B> to specify listening addresses for the bitlbee<->client connection and the bitlbee<->IM peer connection, respectively. ft_max_size should be obvious. ft_max_kbps should limit the kilobits per second per transfer (not implemented yet).
Diffstat (limited to 'conf.h')
-rw-r--r--conf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf.h b/conf.h
index 7fcd0ede..b39845ad 100644
--- a/conf.h
+++ b/conf.h
@@ -49,7 +49,9 @@ typedef struct conf
int ping_interval;
int ping_timeout;
char *user;
- size_t max_filetransfer_size;
+ size_t ft_max_size;
+ int ft_max_kbps;
+ char *ft_listen;
} conf_t;
G_GNUC_MALLOC conf_t *conf_load( int argc, char *argv[] );