summaryrefslogtreecommitdiff
path: root/include/ouroboros/np1_flow.h
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-10-31 18:35:17 +0100
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-10-31 18:43:04 +0100
commit86b6d0ca1b871e629a95c9cf0ddceeeb7e1bd345 (patch)
tree02f048b2b148ad9426194967cbc332a93742ac52 /include/ouroboros/np1_flow.h
parentadd7d5f1e59c661b431ba86ba80d62badc14e762 (diff)
downloadouroboros-86b6d0ca1b871e629a95c9cf0ddceeeb7e1bd345.tar.gz
ouroboros-86b6d0ca1b871e629a95c9cf0ddceeeb7e1bd345.zip
lib, ipcpd: Improve flow allocation
All calls for opening rbuffs are now concentrated on the dev side. This allows some simplifications in the np1 calls. The ipcp_fini call will not destroy the mutex associated with the state, since the final state needs to be checked before shutting down an IPCP.
Diffstat (limited to 'include/ouroboros/np1_flow.h')
-rw-r--r--include/ouroboros/np1_flow.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ouroboros/np1_flow.h b/include/ouroboros/np1_flow.h
index 5b063213..4e7e6070 100644
--- a/include/ouroboros/np1_flow.h
+++ b/include/ouroboros/np1_flow.h
@@ -28,8 +28,7 @@
int np1_flow_alloc(pid_t n_api,
int port_id);
-int np1_flow_resp(pid_t n_api,
- int port_id);
+int np1_flow_resp(int port_id);
int np1_flow_dealloc(int port_id);