summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authormultiplexd2020-02-12 01:02:37 +0000
committerC. McEnroe2020-02-13 00:05:52 +0000
commit1e544ce482ba97f9c4e2be114f88f11e49bdbf1b (patch)
tree5c25157df46e06fe062edb0d91809653b8587c25 /chat.h
parent489df70c37d49ab17b396dcffc6776e2ba7829ed (diff)
Implement source address selection
This commit adds a '-S' command line option and a "bind"
configuration file option to specify the source address to bind to when
connecting to the IRC server.
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chat.h b/chat.h
index 6af5ef7..ed6dc2f 100644
--- a/chat.h
+++ b/chat.h
@@ -125,7 +125,7 @@ struct Message {
 };
 
 void ircConfig(bool insecure, FILE *cert, FILE *priv);
-int ircConnect(const char *host, const char *port);
+int ircConnect(const char *bind, const char *host, const char *port);
 void ircRecv(void);
 void ircSend(const char *ptr, size_t len);
 void ircFormat(const char *format, ...)