summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-07 16:20:45 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-07 16:20:45 +0200
commitdbf3ab8dfb2cbe8167c464e3cf6a9aa757bfff6a (patch)
treed3d0b18c009757cc5ac7081882152c5f9d9e005b /include
parent55d5b9157b78d90d4f6a575d253c58fd50ca531f (diff)
parent192ccde3ae37e33eb33421a6877ed4b4a025fbdb (diff)
downloadouroboros-dbf3ab8dfb2cbe8167c464e3cf6a9aa757bfff6a.tar.gz
ouroboros-dbf3ab8dfb2cbe8167c464e3cf6a9aa757bfff6a.zip
Merged in dstaesse/ouroboros/be-ipcp-read-fd (pull request #258)
lib: Add non-copy reading from fd for IPCPs
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/ipcp-dev.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/ouroboros/ipcp-dev.h b/include/ouroboros/ipcp-dev.h
index 3c2ff264..9343aeaa 100644
--- a/include/ouroboros/ipcp-dev.h
+++ b/include/ouroboros/ipcp-dev.h
@@ -39,12 +39,15 @@ int ipcp_flow_req_arr(pid_t api,
int ipcp_flow_alloc_reply(int fd,
int response);
-/* returns flow descriptor and du buff */
-int ipcp_flow_read(struct shm_du_buff ** sdb);
+int ipcp_flow_read(int fd,
+ struct shm_du_buff ** sdb);
int ipcp_flow_write(int fd,
struct shm_du_buff * sdb);
void ipcp_flow_del(struct shm_du_buff * sdb);
+/* returns flow descriptor and du buff */
+int ipcp_read_shim(struct shm_du_buff ** sdb);
+
#endif /* OUROBOROS_IPCP_DEV_H */