summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-06 00:41:06 -0400
committerJune McEnroe <june@causal.agency>2018-09-06 00:41:06 -0400
commitbd48cb5e7df0820a72de27e156426f20e7233e78 (patch)
tree117147d40a4385052abd498591ac6a07f3f98cc2 /chat.h
parentPreserve scroll position when new lines appear (diff)
downloadcatgirl-bd48cb5e7df0820a72de27e156426f20e7233e78.tar.gz
catgirl-bd48cb5e7df0820a72de27e156426f20e7233e78.zip
Move event loop to event.c
Diffstat (limited to '')
-rw-r--r--chat.h5
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);