/* * servtab.h * (C) Peter Salanki 2002 * This program is copyright, and covered by the Gnu Public License. * The Natasha bot. * sorcer@linux.se */ struct ServtabEntry { char *msg; char *func; }; void s_privmsg (struct arm *a); void s_notice (struct arm *a); void s_nick (struct arm *a); void s_mode (struct arm *a); void s_quit (struct arm *a); void s_join (struct arm *a); void s_part (struct arm *a); void s_kill (struct arm *a); void s_ping (struct arm *a); void s_topic (struct arm *a); void s_kick (struct arm *a); void s_whoreply (struct arm *a); void s_endofwho (struct arm *a); void s_whoisuser (struct arm *a); void s_endofwhois (struct arm *a); void s_whoischannels (struct arm *a); void s_rpltopic (struct arm *a); void s_isoper (struct arm *a); void s_inviteonlychan (struct arm *a); void s_isfullchan (struct arm *a); void s_bannedfromchan (struct arm *a); void s_badkeychan (struct arm *a); #ifdef Q_AUTOAUTH void s_qauth (struct arm *a); #endif struct ServtabEntry servtab[] = { {"PRIVMSG", "s_privmsg"}, {"MODE", "s_mode"}, {"JOIN", "s_join"}, {"PART", "s_part"}, {"NICK", "s_nick"}, {"QUIT", "s_quit"}, {"PING", "s_ping"}, {"KICK", "s_kick"}, {"NOTICE", "s_notice"}, {"TOPIC", "s_topic"}, {"KILL", "s_kill"}, {RPL_WHOREPLY, "s_whoreply"}, {RPL_ENDOFWHO, "s_endofwho"}, #ifdef Q_AUTOAUTH {RPL_QAUTH, "s_qauth"}, #endif // {RPL_WHOISUSER, "s_whoisuser"}, // {RPL_ENDOFWHOIS, "s_endofwhois"}, // {RPL_WHOISCHANNELS, s_whoischannels}, {RPL_TOPIC, "s_rpltopic"}, {RPL_WHOISOPERATOR, "s_isoper"}, {ERR_INVITEONLYCHAN, "s_inviteonlychan"}, {ERR_CHANNELISFULL, "s_isfullchan"}, {ERR_BADCHANNELKEY, "s_badkeychan"}, {ERR_BANNEDFROMCHAN, "s_bannedfromchan"}, {"DONE", NULL} };