diff options
author | June McEnroe <june@causal.agency> | 2021-01-09 19:11:57 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-09 19:11:57 -0500 |
commit | e42b3aa08e3706ecb87ca76254fbab51cccf3390 (patch) | |
tree | ab0232c0962f1f7ca6649ff1b0767b5c2f2ee120 /chat.h | |
parent | Allow configuring the upper bound of the hash function (diff) | |
download | catgirl-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.h | 5 |
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, ...) |