diff options
Diffstat (limited to 'unix.h')
-rw-r--r-- | unix.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -10,9 +10,14 @@ #include <stdio.h> + // takes filename, returns socket fd // or -1 on failure. int unix_setup(char sockname[]); +// reads a message from unix socket on fd, +// and sends it to irc on the channel chname. +int unix_handle(int fd, char chname[]); + #endif // unix_h_INCLUDED |