From 5c17393d2b0830838e8e47f105ef734d3b235275 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 1 Dec 2018 22:05:37 -0500 Subject: Crudely handle reconnecting after suspend --- chat.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'chat.h') 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); -- cgit 1.4.1-2-gfad0