From e1c0714d5827cd927961f3a687d9720e6e9aa802 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 5 Apr 2017 20:02:28 +0200 Subject: lib, irmd: Implement flow allocation timeout Setting the timeouts on flow_alloc and flow_accept will now work. This makes some changes to the UNIX sockets used for management communication between the APs, IRMd and IPCPs. --- src/irmd/irm_flow.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/irmd/irm_flow.h') diff --git a/src/irmd/irm_flow.h b/src/irmd/irm_flow.h index 97770117..8902a6ab 100644 --- a/src/irmd/irm_flow.h +++ b/src/irmd/irm_flow.h @@ -71,7 +71,8 @@ enum flow_state irm_flow_get_state(struct irm_flow * f); void irm_flow_set_state(struct irm_flow * f, enum flow_state state); -enum flow_state irm_flow_wait_state(struct irm_flow * f, - enum flow_state state); +int irm_flow_wait_state(struct irm_flow * f, + enum flow_state state, + struct timespec * timeo); #endif /* OUROBOROS_IRMD_IRM_FLOW_H */ -- cgit v1.2.3