From 5b11550644b0ce7a79b967b6aabb1a59b86d5ca2 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Wed, 24 Dec 2025 11:06:28 +0100 Subject: lib: Refactor rbuff Renames the macros and adds functions for handling the robust mutexes to reduce the preprocessor invasions. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- include/ouroboros/shm_rbuff.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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); -- cgit v1.2.3