summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-01 22:05:37 -0500
committerJune McEnroe <june@causal.agency>2018-12-01 22:05:37 -0500
commit5c17393d2b0830838e8e47f105ef734d3b235275 (patch)
tree2ef2649e36cdd13b454793f04c39ea70857f4b9d /chat.h
parentFix sandman hang (diff)
downloadcatgirl-5c17393d2b0830838e8e47f105ef734d3b235275.tar.gz
catgirl-5c17393d2b0830838e8e47f105ef734d3b235275.zip
Crudely handle reconnecting after suspend
Diffstat (limited to '')
-rw-r--r--chat.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chat.h b/chat.h
index e8f9378..abbb050 100644
--- a/chat.h
+++ b/chat.h
@@ -44,6 +44,7 @@ void selfJoin(const char *join);
 
 void eventWait(const char *argv[static 2]);
 void eventPipe(const char *argv[static 2]);
+void eventQuit(void);
 noreturn void eventLoop(void);
 
 struct Tag {
@@ -103,14 +104,14 @@ void inputTab(void);
 
 void ircInit(char *host, char *port, char *pass, char *webPass);
 int ircConnect(void);
-void ircDisconnect(const char *quit);
-void ircRead(void);
+bool ircRead(void);
 void ircWrite(const char *ptr, size_t len);
 void ircFmt(const char *format, ...) __attribute__((format(printf, 1, 2)));
 
 void uiInit(void);
+void uiShow(void);
 void uiHide(void);
-void uiExit(void);
+noreturn void uiExit(void);
 void uiDraw(void);
 void uiRead(void);
 void uiPrompt(void);