#define MAXNUMPARAMS 200
#define ALLCHANMSG_FUNCS_MAX 4 /* +1 == 5 potential 'allchanmsg' funcs */
-#ifdef HAVE_NETINET_IN_H
-#include <netinet/in.h>
-#endif
-
struct gline;
struct server;
struct userNode;
typedef void (*privmsg_func_t) (struct userNode *user, struct userNode *target, const char *text, int server_qualified);
void reg_privmsg_func(struct userNode *user, privmsg_func_t handler);
void reg_notice_func(struct userNode *user, privmsg_func_t handler);
-void unreg_privmsg_func(struct userNode *user, privmsg_func_t handler);
-void unreg_notice_func(struct userNode *user, privmsg_func_t handler);
+void unreg_privmsg_func(struct userNode *user);
+void unreg_notice_func(struct userNode *user);
typedef void (*oper_func_t) (struct userNode *user);
void reg_oper_func(oper_func_t handler);
#define RPL_ENDOFSTATS 219
#define RPL_STATSUPTIME 242
#define RPL_MAXCONNECTIONS 250
+#define RPL_AWAY 301
#define RPL_WHOISUSER 311
#define RPL_WHOISSERVER 312
#define RPL_WHOISOPERATOR 313
+#define RPL_WHOISIDLE 317
#define RPL_ENDOFWHOIS 318
+#define RPL_WHOISCHANNELS 319
+#define RPL_WHOISACCOUNT 330
+#define RPL_WHOISACTUALLY 338
#define ERR_NOSUCHNICK 401
/* stuff originally from other headers that is really protocol-specific */