summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-09 19:11:57 -0500
committerJune McEnroe <june@causal.agency>2021-01-09 19:11:57 -0500
commite42b3aa08e3706ecb87ca76254fbab51cccf3390 (patch)
treeab0232c0962f1f7ca6649ff1b0767b5c2f2ee120 /chat.h
parentAllow configuring the upper bound of the hash function (diff)
downloadcatgirl-e42b3aa08e3706ecb87ca76254fbab51cccf3390.tar.gz
catgirl-e42b3aa08e3706ecb87ca76254fbab51cccf3390.zip
Add -o and -t options to trust self-signed certificates
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chat.h b/chat.h
index 8de5d55..34c450f 100644
--- a/chat.h
+++ b/chat.h
@@ -222,8 +222,11 @@ struct Message {
 	char *params[ParamCap];
 };
 
-void ircConfig(bool insecure, const char *cert, const char *priv);
+void ircConfig(
+	bool insecure, const char *trust, const char *cert, const char *priv
+);
 int ircConnect(const char *bind, const char *host, const char *port);
+void ircWriteChain(const char *path);
 void ircRecv(void);
 void ircSend(const char *ptr, size_t len);
 void ircFormat(const char *format, ...)