summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2023-09-17 13:49:59 +0200
committerSander Vrijders <sander@ouroboros.rocks>2023-09-20 18:51:19 +0200
commitc7fbae74dcf91333cc53632153e1c91e2a641f0d (patch)
tree93fc011ea9d249589a92c0becc569eae3e88a832 /src/lib/dev.c
parenta032b25832a75deef7d6d8b48a0786e5838df419 (diff)
downloadouroboros-c7fbae74dcf91333cc53632153e1c91e2a641f0d.tar.gz
ouroboros-c7fbae74dcf91333cc53632153e1c91e2a641f0d.zip
lib: Rename portevent to flowevent
Doesn't make any sense to call it a port event... Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index 69843c58..7de257e2 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -126,7 +126,7 @@ struct flow_set {
};
struct fqueue {
- struct portevent fqueue[SHM_BUFFER_SIZE]; /* Safe copy from shm. */
+ struct flowevent fqueue[SHM_BUFFER_SIZE]; /* Safe copy from shm. */
size_t fqsize;
size_t next;
};
@@ -909,7 +909,6 @@ int flow_alloc(const char * dst,
irm_msg__free_unpacked(recv_msg, NULL);
-
return fd;
fail_result:
@@ -1726,7 +1725,7 @@ static int fqueue_filter(struct fqueue * fq)
int fqueue_next(struct fqueue * fq)
{
int fd;
- struct portevent * e;
+ struct flowevent * e;
if (fq == NULL)
return -EINVAL;