root/src/eventer/eventer_kqueue_impl.c

Revision 01751d3c6a2df6acc30c50e9cd1cce9064262450, 0.8 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

still nothing working, but substantially more plumbing

  • Property mode set to 100644
Line 
1 /*
2  * Copyright (c) 2007, OmniTI Computer Consulting, Inc.
3  * All rights reserved.
4  */
5
6 #include "noit_defines.h"
7 #include "eventer/eventer.h"
8
9 #include <sys/event.h>
10
11 static int eventer_kqueue_impl_init() {
12   return 0;
13 }
14 static int eventer_kqueue_impl_propset(const char *key, const char *value) {
15   return -1;
16 }
17 static void eventer_kqueue_impl_add(eventer_t e) {
18 }
19 static void eventer_kqueue_impl_remove(eventer_t e) {
20 }
21 static void eventer_kqueue_impl_update(eventer_t e) {
22 }
23 static eventer_t eventer_kqueue_impl_remove_fd(int fd) {
24 }
25 static void eventer_kqueue_impl_loop() {
26 }
27
28 struct _eventer_impl eventer_kqueue_impl = {
29   "kqueue",
30   eventer_kqueue_impl_init,
31   eventer_kqueue_impl_propset,
32   eventer_kqueue_impl_add,
33   eventer_kqueue_impl_remove,
34   eventer_kqueue_impl_update,
35   eventer_kqueue_impl_remove_fd,
36   eventer_kqueue_impl_loop
37 };
Note: See TracBrowser for help on using the browser.