diff options
author | Curtis McEnroe | 2018-12-01 22:05:37 -0500 |
---|---|---|
committer | Curtis McEnroe | 2018-12-01 22:05:37 -0500 |
commit | 5c17393d2b0830838e8e47f105ef734d3b235275 (patch) | |
tree | 2ef2649e36cdd13b454793f04c39ea70857f4b9d /chat.h | |
parent | e3cff14e0336b70bb7aad4855b8b2f6c4d963d05 (diff) |
Crudely handle reconnecting after suspend
Diffstat (limited to 'chat.h')
-rw-r--r-- | chat.h | 7 |
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); |