diff options
author | Curtis McEnroe | 2018-09-06 00:41:06 -0400 |
---|---|---|
committer | Curtis McEnroe | 2018-09-06 00:41:06 -0400 |
commit | bd48cb5e7df0820a72de27e156426f20e7233e78 (patch) | |
tree | 117147d40a4385052abd498591ac6a07f3f98cc2 /chat.h | |
parent | 0cf067315de4960522df360f8e1b2b04a23db7f0 (diff) |
Move event loop to event.c
Diffstat (limited to 'chat.h')
-rw-r--r-- | chat.h | 5 |
1 files changed, 3 insertions, 2 deletions
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); |