From 452aeb5ecf8d70a7ce5c5ea0e0f59df92f53eab2 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 2 Dec 2018 23:22:18 -0500 Subject: Move host, port, pass, webp to self --- chat.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index 31b31a2..42afea9 100644 --- a/chat.h +++ b/chat.h @@ -31,7 +31,10 @@ #define errx(...) do { uiHide(); errx(__VA_ARGS__); } while (0) struct { + char *host; char *port; + char *pass; + char *webp; char *nick; char *user; char *real; @@ -103,7 +106,7 @@ void handle(char *line); void input(struct Tag tag, char *line); void inputTab(void); -void ircInit(char *host, char *port, char *pass, char *webPass); +void ircInit(void); int ircConnect(void); bool ircRead(void); void ircWrite(const char *ptr, size_t len); -- cgit 1.4.1-2-gfad0