diff options
author | ubq323 <ubq323@ubq323.website> | 2022-10-31 19:14:39 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-10-31 19:14:39 +0000 |
commit | 65fc26be19594c91b3af57c548c2e5c7307457f2 (patch) | |
tree | ed1857b7e5ac903896ecd8b6d1f43314748da584 /unix.h | |
parent | 1dc90feaf9d7db3c0e5d8233a5d60c46ee236c1c (diff) |
multiple channels are now supported
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 |