summaryrefslogtreecommitdiff
path: root/src/irmd/irm_flow.h
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-11-16 18:52:18 +0100
committerdimitri staessens <[email protected]>2016-11-16 18:52:18 +0100
commit16a28c7d5a9c6772c087554869bbfc6be47d3eee (patch)
treec81dcfac4668a9e7ef759cae6a39526ce812b1be /src/irmd/irm_flow.h
parentf7b9a391334130685dca1a85ab5fd3c5407991bf (diff)
downloadouroboros-16a28c7d5a9c6772c087554869bbfc6be47d3eee.tar.gz
ouroboros-16a28c7d5a9c6772c087554869bbfc6be47d3eee.zip
irmd: Refactor irm_flow
Creation and destruction of the rbuffs is now completely handled in the irm_flow.
Diffstat (limited to 'src/irmd/irm_flow.h')
-rw-r--r--src/irmd/irm_flow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/irmd/irm_flow.h b/src/irmd/irm_flow.h
index 40a6bb8d..9cbc657d 100644
--- a/src/irmd/irm_flow.h
+++ b/src/irmd/irm_flow.h
@@ -56,7 +56,9 @@ struct irm_flow {
pthread_mutex_t state_lock;
};
-struct irm_flow * irm_flow_create(void);
+struct irm_flow * irm_flow_create(pid_t n_api,
+ pid_t n_1_api,
+ int port_id);
void irm_flow_destroy(struct irm_flow * f);