projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use native Windows events for the event loop.
[tinc]
/
src
/
event.h
diff --git
a/src/event.h
b/src/event.h
index
c6522c0
..
bebb520
100644
(file)
--- a/
src/event.h
+++ b/
src/event.h
@@
-32,6
+32,9
@@
typedef void (*signal_cb_t)(void *data);
typedef struct io_t {
int fd;
int flags;
+#ifdef HAVE_MINGW
+ WSAEVENT event;
+#endif
io_cb_t cb;
void *data;
splay_node_t node;