summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2025-12-24 11:06:28 +0100
committerSander Vrijders <sander@ouroboros.rocks>2026-01-07 14:33:47 +0100
commit5b11550644b0ce7a79b967b6aabb1a59b86d5ca2 (patch)
tree8d4daf5730fc6ace08b45fa69c942a94393952b4 /include
parentcef9a910aa9c2315aa4d4ab6c196b078ca2fad90 (diff)
downloadouroboros-5b11550644b0ce7a79b967b6aabb1a59b86d5ca2.tar.gz
ouroboros-5b11550644b0ce7a79b967b6aabb1a59b86d5ca2.zip
lib: Refactor rbuffbe
Renames the macros and adds functions for handling the robust mutexes to reduce the preprocessor invasions. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/shm_rbuff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ouroboros/shm_rbuff.h b/include/ouroboros/shm_rbuff.h
index 4323d4e1..423a40a0 100644
--- a/include/ouroboros/shm_rbuff.h
+++ b/include/ouroboros/shm_rbuff.h
@@ -38,13 +38,13 @@ struct shm_rbuff;
struct shm_rbuff * shm_rbuff_create(pid_t pid,
int flow_id);
+void shm_rbuff_destroy(struct shm_rbuff * rb);
+
struct shm_rbuff * shm_rbuff_open(pid_t pid,
int flow_id);
void shm_rbuff_close(struct shm_rbuff * rb);
-void shm_rbuff_destroy(struct shm_rbuff * rb);
-
void shm_rbuff_set_acl(struct shm_rbuff * rb,
uint32_t flags);