diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-22 15:31:45 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-22 15:31:45 +0200 |
commit | 0200dcb157be0e62eb495bc870cdac03130c2aa1 (patch) | |
tree | fe6459aadc00e81ef1252392dc07e009e3e8888e /include | |
parent | 745cc666e34d7e0c29822615987ce02832ac5a8c (diff) | |
parent | dfe5a46fb5315112d1173ac983ffc416dc3ecf18 (diff) | |
download | ouroboros-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.h | 5 |
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 */ |