#ifndef unix_h_INCLUDED #define unix_h_INCLUDED #include #include #include #include #include #include #include // 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