From 2ae032ddc4f5eb6d0e7eaa5400c1ffb80e2c0a8d Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Thu, 17 Nov 2016 16:28:33 +0100 Subject: lib: Remove dst_api field from rdrbuff blocks Now that we have an rbuff per flow per AP, there is no more need to keep the dst_api in the rdrbuff. This also simplifies the sanitizer in the irmd. --- include/ouroboros/shm_rdrbuff.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/ouroboros/shm_rdrbuff.h') diff --git a/include/ouroboros/shm_rdrbuff.h b/include/ouroboros/shm_rdrbuff.h index b16e2530..c4e1e7b0 100644 --- a/include/ouroboros/shm_rdrbuff.h +++ b/include/ouroboros/shm_rdrbuff.h @@ -43,18 +43,16 @@ void shm_rdrbuff_close(struct shm_rdrbuff * rdrb); void shm_rdrbuff_destroy(struct shm_rdrbuff * rdrb); -void * shm_rdrbuff_sanitize(void * o); +void shm_rdrbuff_wait_full(struct shm_rdrbuff * rdrb); /* returns the index of the buffer in the DU map */ ssize_t shm_rdrbuff_write(struct shm_rdrbuff * rdrb, - pid_t dst_api, size_t headspace, size_t tailspace, uint8_t * data, size_t data_len); ssize_t shm_rdrbuff_write_b(struct shm_rdrbuff * rdrb, - pid_t dst_api, size_t headspace, size_t tailspace, uint8_t * data, -- cgit v1.2.3