#include "irc.h" #include int main() { if (irc_connect()) { fputs("falure in irc_connect\n",stderr); return 1; } if (irc_handshake()) { fputs("failure in irc_handshake\n",stderr); return 1; } int x; do { x = irc_recv(); } while (!x); return 0; }