summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-05-22 15:31:45 +0200
committerSander Vrijders <[email protected]>2016-05-22 15:31:45 +0200
commit0200dcb157be0e62eb495bc870cdac03130c2aa1 (patch)
treefe6459aadc00e81ef1252392dc07e009e3e8888e /include
parent745cc666e34d7e0c29822615987ce02832ac5a8c (diff)
parentdfe5a46fb5315112d1173ac983ffc416dc3ecf18 (diff)
downloadouroboros-0200dcb157be0e62eb495bc870cdac03130c2aa1.tar.gz
ouroboros-0200dcb157be0e62eb495bc870cdac03130c2aa1.zip
Merged in dstaesse/ouroboros/be-dealloc-full (pull request #105)
lib, ipcpd, irmd: fixes deallocation and fast path
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/shm_ap_rbuff.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ouroboros/shm_ap_rbuff.h b/include/ouroboros/shm_ap_rbuff.h
index 0ececf88..99c5a423 100644
--- a/include/ouroboros/shm_ap_rbuff.h
+++ b/include/ouroboros/shm_ap_rbuff.h
@@ -47,7 +47,8 @@ void shm_ap_rbuff_close(struct shm_ap_rbuff * rb);
void shm_ap_rbuff_destroy(struct shm_ap_rbuff * rb);
int shm_ap_rbuff_write(struct shm_ap_rbuff * rb,
struct rb_entry * e);
-int shm_ap_rbuff_peek(struct shm_ap_rbuff * rb);
-struct rb_entry * shm_ap_rbuff_read();
+struct rb_entry * shm_ap_rbuff_read(struct shm_ap_rbuff * rb);
+ssize_t shm_ap_rbuff_read_port(struct shm_ap_rbuff * rb,
+ int port_id);
#endif /* OUROBOROS_SHM_AP_RBUFF_H */