00001 /* nezumirc.h 00002 * $Id: nezumirc.h 228 2006-02-08 21:04:48Z MagicalTux $ 00003 * Server-side for NezumiRC 00004 */ 00005 00006 #define NEZUMIRC_PROTOCOL 1 00007 00008 enum { 00009 NEZUMIRC_ERROR_UNKNOWN = 0x00, 00010 NEZUMIRC_ERROR_IPNOTALLOWED = 0x01, 00011 NEZUMIRC_ERROR_BADPRT = 0x02, 00012 NEZUMIRC_ERROR_NOADMIN = 0x03, 00013 NEZUMIRC_ERROR_BADPASSWORD = 0x04 00014 }; 00015 00016 void nezumirc_send_error(int, int); 00017 void nezumirc_do_handshake(int); 00018 int parse_nezumirc_1(int); 00019 void nezumirc_broadcast_new_char(int); 00020