diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/shm_flow_set.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/ouroboros/shm_flow_set.h b/include/ouroboros/shm_flow_set.h index ba085aef..62bf24e9 100644 --- a/include/ouroboros/shm_flow_set.h +++ b/include/ouroboros/shm_flow_set.h @@ -27,6 +27,11 @@ #include <sys/time.h> +struct portevent { + int flow_id; + int event; +}; + struct shm_flow_set; struct shm_flow_set * shm_flow_set_create(pid_t pid); @@ -58,7 +63,7 @@ void shm_flow_set_notify(struct shm_flow_set * set, ssize_t shm_flow_set_wait(const struct shm_flow_set * shm_set, size_t idx, - int * fqueue, + struct portevent * fqueue, const struct timespec * abstime); #endif /* OUROBOROS_SHM_FLOW_SET_H */ |