summaryrefslogtreecommitdiff
path: root/include/ouroboros/shm_flow_set.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ouroboros/shm_flow_set.h')
-rw-r--r--include/ouroboros/shm_flow_set.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/ouroboros/shm_flow_set.h b/include/ouroboros/shm_flow_set.h
index 32db5d36..de5a9add 100644
--- a/include/ouroboros/shm_flow_set.h
+++ b/include/ouroboros/shm_flow_set.h
@@ -29,7 +29,7 @@
struct shm_flow_set;
-struct shm_flow_set * shm_flow_set_create();
+struct shm_flow_set * shm_flow_set_create(void);
void shm_flow_set_destroy(struct shm_flow_set * set);
@@ -38,25 +38,25 @@ struct shm_flow_set * shm_flow_set_open(pid_t api);
void shm_flow_set_close(struct shm_flow_set * set);
void shm_flow_set_zero(struct shm_flow_set * shm_set,
- ssize_t idx);
+ size_t idx);
int shm_flow_set_add(struct shm_flow_set * shm_set,
- ssize_t idx,
+ size_t idx,
int port_id);
int shm_flow_set_has(struct shm_flow_set * shm_set,
- ssize_t idx,
+ size_t idx,
int port_id);
void shm_flow_set_del(struct shm_flow_set * shm_set,
- ssize_t idx,
+ size_t idx,
int port_id);
void shm_flow_set_notify(struct shm_flow_set * set,
int port_id);
-int shm_flow_set_wait(const struct shm_flow_set * shm_set,
- ssize_t idx,
+ssize_t shm_flow_set_wait(const struct shm_flow_set * shm_set,
+ size_t idx,
int * fqueue,
const struct timespec * timeout);