Anope IRC Services  Version 2.0
Functions | Variables
socketengine_kqueue.cpp File Reference
#include "services.h"
#include "anope.h"
#include "sockets.h"
#include "socketengine.h"
#include "logger.h"
#include "config.h"
#include <sys/types.h>
#include <sys/event.h>
#include <sys/time.h>
#include <errno.h>
Include dependency graph for socketengine_kqueue.cpp:

Go to the source code of this file.

Functions

static struct kevent * GetChangeEvent ()
 

Variables

static int kq_fd
 
static std::vector< struct kevent > change_events
 
static std::vector< struct kevent > event_events
 
static unsigned change_count
 

Function Documentation

static struct kevent* GetChangeEvent ( )
static

Definition at line 28 of file socketengine_kqueue.cpp.

References change_count, and change_events.

Variable Documentation

unsigned change_count
static

Definition at line 26 of file socketengine_kqueue.cpp.

Referenced by GetChangeEvent().

std::vector<struct kevent> change_events
static

Definition at line 25 of file socketengine_kqueue.cpp.

Referenced by GetChangeEvent().

std::vector<struct kevent> event_events
static

Definition at line 25 of file socketengine_kqueue.cpp.

int kq_fd
static

Definition at line 24 of file socketengine_kqueue.cpp.