summaryrefslogtreecommitdiffstats
path: root/plugins/epoll.c
blob: f0a397083d9f5341a3b998d995153eed6744adf1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <sys/epoll.h>
#include "plugins.h"

static int plugin_init(ptx_plugin_t *plugin, void *resume)
{
  UNUSED(plugin, resume);
  return 0;
}

static int plugin_restart(ptx_plugin_t *plugin, void **presume)
{
  UNUSED(plugin, presume);
  return PTX_PLUGIN_CANNOT_RESUME;
}

PTX_PLUGIN_DESC_START
  PTX_PLUGIN_NAME("io_epoll")
  PTX_PLUGIN_DESCRIPTION("provides epoll-based i/o")
  PTX_PLUGIN_VERSION("0.1.0")

  PTX_PLUGIN_INIT(plugin_init)
  PTX_PLUGIN_RESTART(plugin_restart)
PTX_PLUGIN_DESC_END