From bd48cb5e7df0820a72de27e156426f20e7233e78 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 6 Sep 2018 00:41:06 -0400 Subject: Move event loop to event.c --- chat.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index df532d7..6c95ab6 100644 --- a/chat.h +++ b/chat.h @@ -37,6 +37,9 @@ void selfNick(const char *nick); void selfUser(const char *user); void selfJoin(const char *join); +void eventSpawn(char *const argv[]); +void eventLoop(int ui, int irc); + struct Tag { size_t id; const char *name; @@ -161,8 +164,6 @@ void logFmt( struct Tag tag, const time_t *ts, const char *format, ... ) __attribute__((format(printf, 3, 4))); -void spawn(char *const argv[]); - wchar_t *wcsnchr(const wchar_t *wcs, size_t len, wchar_t chr); wchar_t *wcsnrchr(const wchar_t *wcs, size_t len, wchar_t chr); wchar_t *ambstowcs(const char *src); -- cgit 1.4.1-2-gfad0