summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev.h3
-rw-r--r--event.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/ev.h b/ev.h
index a494fd7..6e0e0bd 100644
--- a/ev.h
+++ b/ev.h
@@ -181,7 +181,8 @@ struct ev_child
#define EVMETHOD_POLL 2
#define EVMETHOD_EPOLL 4
#define EVMETHOD_KQUEUE 8
-#define EVMETHOD_DEVPOLL 16
+#define EVMETHOD_DEVPOLL 16 /* NYI */
+#define EVMETHOD_PORT 32 /* NYI */
#define EVMETHOD_ANY ~0 /* any method, do not consult env */
#if EV_PROTOTYPES
extern int ev_method;
diff --git a/event.h b/event.h
index 03506ad..3c2f448 100644
--- a/event.h
+++ b/event.h
@@ -39,7 +39,7 @@ extern "C" {
struct event
{
- /* lib watchers we map to */
+ /* libev watchers we map onto */
union {
struct ev_io io;
struct ev_signal sig;
@@ -120,3 +120,4 @@ int event_base_once (struct event_base *base, int fd, short events, void (*cb)(i
int event_base_priority_init (struct event_base *base, int fd);
#endif
+