Below is the file 'src/comm_kqueue.c' from this revision. You can also download the file.

/* FreeBSD kqueue support - Adrian Chadd */
/* [insert GPL copyright here] */

/*
 * For now this is #include'd from comm_select.c - this'll happen until
 * I or someone duplicates benno's work and breaks out the poll/select/epoll
 * support into separate files.
 */

static void checkTimeouts(void);


/* Defer reads from this fd */
void
commDeferFD(int fd)
{
}


/* Resume reading from the given fd */
void
commResumeFD(int fd)
{
}

void
comm_select_init()
{
}

void
commUpdateReadBits(int fd, PF *handler)
{
    /* Not implemented */
}

void
commUpdateWriteBits(int fd, PF *handler)
{
    /* Not implemented */
}

void
commSetSelect(int fd, unsigned int type, PF * handler, void *client_data, time_t timeout)
{
}

int
comm_kqueue(int msec)
{
	checkTimeouts();
	return 0;
}