From 99b4f4d6d6f18321489bae50f1762b29165f7de1 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Tue, 14 Mar 2023 12:50:27 +0100 Subject: irmd: Use buffer_t for piggybacked data Instead of passing a const void * and len, it now passes buffer_t to operations that send piggybacked data (flow_req_arr and flow_reply) and a buffer_t * for operations that send and receive piggybacked data (flow_alloc and flow_accept). Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/irmd/irm_flow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/irmd/irm_flow.h') diff --git a/src/irmd/irm_flow.h b/src/irmd/irm_flow.h index af613d36..a1794f5f 100644 --- a/src/irmd/irm_flow.h +++ b/src/irmd/irm_flow.h @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -50,8 +51,7 @@ struct irm_flow { qosspec_t qs; time_t mpl; - void * data; - size_t len; + buffer_t data; struct shm_rbuff * n_rb; struct shm_rbuff * n_1_rb; -- cgit v1.2.3