summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/shm_rbuff.h2
-rw-r--r--include/ouroboros/shm_rdrbuff.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/ouroboros/shm_rbuff.h b/include/ouroboros/shm_rbuff.h
index 423a40a0..a1d2816a 100644
--- a/include/ouroboros/shm_rbuff.h
+++ b/include/ouroboros/shm_rbuff.h
@@ -52,6 +52,8 @@ uint32_t shm_rbuff_get_acl(struct shm_rbuff * rb);
void shm_rbuff_fini(struct shm_rbuff * rb);
+int shm_rbuff_mlock(struct shm_rbuff * rb);
+
int shm_rbuff_write(struct shm_rbuff * rb,
size_t idx);
diff --git a/include/ouroboros/shm_rdrbuff.h b/include/ouroboros/shm_rdrbuff.h
index 4f9a215a..30dc3ff7 100644
--- a/include/ouroboros/shm_rdrbuff.h
+++ b/include/ouroboros/shm_rdrbuff.h
@@ -42,6 +42,8 @@ void shm_rdrbuff_destroy(struct shm_rdrbuff * rdrb);
void shm_rdrbuff_purge(void);
+int shm_rdrbuff_mlock(struct shm_rdrbuff * rdrb);
+
/* Returns block index, a ptr and du_buff. */
ssize_t shm_rdrbuff_alloc(struct shm_rdrbuff * rdrb,
size_t count,