diff options
author | June McEnroe <june@causal.agency> | 2018-12-02 23:22:18 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-12-02 23:22:18 -0500 |
commit | 452aeb5ecf8d70a7ce5c5ea0e0f59df92f53eab2 (patch) | |
tree | 0b78a60487770a6ef188d7ad76bd0cad35ce10aa /chat.h | |
parent | Add -r option for realname (diff) | |
download | catgirl-452aeb5ecf8d70a7ce5c5ea0e0f59df92f53eab2.tar.gz catgirl-452aeb5ecf8d70a7ce5c5ea0e0f59df92f53eab2.zip |
Move host, port, pass, webp to self
Diffstat (limited to '')
-rw-r--r-- | chat.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |