Defines | Functions | Variables
epoll.c File Reference
#include "Python.h"
#include <string.h>
#include <sys/epoll.h>
Include dependency graph for epoll.c:

Go to the source code of this file.

Defines

#define MAX_EVENTS   24

Functions

static PyObject * _epoll_create (void)
static PyObject * _epoll_ctl (PyObject *self, PyObject *args)
static PyObject * _epoll_wait (PyObject *self, PyObject *args)
PyMODINIT_FUNC initepoll (void)

Variables

static PyMethodDef kEpollMethods []

Define Documentation

#define MAX_EVENTS   24

Definition at line 21 of file epoll.c.


Function Documentation

static PyObject* _epoll_create ( void  ) [static]

Definition at line 26 of file epoll.c.

static PyObject* _epoll_ctl ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 41 of file epoll.c.

static PyObject* _epoll_wait ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 66 of file epoll.c.

PyMODINIT_FUNC initepoll ( void  )

Definition at line 110 of file epoll.c.


Variable Documentation

PyMethodDef kEpollMethods[] [static]
Initial value:
 {
  {"epoll_create", (PyCFunction)_epoll_create, METH_NOARGS,
   "Create an epoll file descriptor"},
  {"epoll_ctl", _epoll_ctl, METH_VARARGS,
   "Control an epoll file descriptor"},
  {"epoll_wait", _epoll_wait, METH_VARARGS,
   "Wait for events on an epoll file descriptor"},
  {NULL, NULL, 0, NULL}
}

Definition at line 97 of file epoll.c.



rosbridge_server
Author(s): Jonathan Mace
autogenerated on Thu Jan 2 2014 11:53:55