/* * servtab.h * (C) Peter Sakanki 2002 */ /* * This is the code for the main IRC protocol command table. * Could be made a *lot* more sophisticated - would be a damn good idea. * Notice that that's probably a lot of possible server commands that I * haven't yet implemented. */ struct ServtabEntry { char *msg; void (*func) (); }; void s_privmsg (); void s_ping (); void s_join (); void s_targetchange (); struct ServtabEntry servtab[] = { {"PRIVMSG", s_privmsg}, {"JOIN", s_join}, {"439", s_targetchange}, {"DONE", 0} };