diff options
author | dimitri staessens <[email protected]> | 2017-04-06 09:30:01 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-04-06 09:30:01 +0000 |
commit | 34ef0da6c1b3a3419dbdf2041ed1e3ba107dc915 (patch) | |
tree | d8e793cffbe829d64855eaa5a429b90ebe3dc3a4 /src/irmd/irm_flow.h | |
parent | c6ad4f96f8bb2f1ee749e92308e7173523ddd0b8 (diff) | |
parent | e1c0714d5827cd927961f3a687d9720e6e9aa802 (diff) | |
download | ouroboros-34ef0da6c1b3a3419dbdf2041ed1e3ba107dc915.tar.gz ouroboros-34ef0da6c1b3a3419dbdf2041ed1e3ba107dc915.zip |
Merged in dstaesse/ouroboros/be-tim (pull request #464)
lib, irmd: Implement flow allocation timeout
Diffstat (limited to 'src/irmd/irm_flow.h')
-rw-r--r-- | src/irmd/irm_flow.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 */ |