* $Id: packet.c 3446 2007-05-14 22:21:16Z jilles $
*/
#include "stdinc.h"
-#include "tools.h"
-#include "commio.h"
#include "s_conf.h"
#include "s_serv.h"
#include "client.h"
#include "parse.h"
#include "packet.h"
#include "irc_string.h"
-#include "memory.h"
#include "hook.h"
#include "send.h"
return;
/* and finally, reset the flood check */
- comm_setflush(fd, 1000, flood_recalc, client_p);
+ rb_setflush(fd, 1000, flood_recalc, client_p);
}
/*
nodata:
/* If we get here, we need to register for another COMM_SELECT_READ */
- comm_setselect(fd, FDLIST_SERVER, COMM_SELECT_READ, read_ctrl_packet, server, 0);
+ rb_setselect(fd, FDLIST_SERVER, COMM_SELECT_READ, read_ctrl_packet, server, 0);
}
/*
{
if((length == -1) && ignoreErrno(errno))
{
- comm_setselect(client_p->localClient->F->fd, FDLIST_IDLECLIENT,
+ rb_setselect(client_p->localClient->F->fd, FDLIST_IDLECLIENT,
COMM_SELECT_READ, read_packet, client_p, 0);
return;
}
/* If we get here, we need to register for another COMM_SELECT_READ */
if(PARSE_AS_SERVER(client_p))
{
- comm_setselect(client_p->localClient->F->fd, FDLIST_SERVER, COMM_SELECT_READ,
+ rb_setselect(client_p->localClient->F->fd, FDLIST_SERVER, COMM_SELECT_READ,
read_packet, client_p, 0);
}
else
{
- comm_setselect(client_p->localClient->F->fd, FDLIST_IDLECLIENT,
+ rb_setselect(client_p->localClient->F->fd, FDLIST_IDLECLIENT,
COMM_SELECT_READ, read_packet, client_p, 0);
}
}