diff options
author | dimitri staessens <[email protected]> | 2016-05-14 21:59:46 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-05-14 21:59:46 +0200 |
commit | 1712f5d78567bbad7a0608fb1428be000a83fe4a (patch) | |
tree | 0831f200a4e2d38d68393a4bccfbd2d5c48d2586 /src/ipcpd/flow.c | |
parent | 43228f68f8e577015fe8116ab145fcc45ab789e7 (diff) | |
parent | 8f1e46eab45ba0f497f05d6fe18fb83d8590b3e9 (diff) | |
download | ouroboros-1712f5d78567bbad7a0608fb1428be000a83fe4a.tar.gz ouroboros-1712f5d78567bbad7a0608fb1428be000a83fe4a.zip |
Merged in sandervrijders/ouroboros/be (pull request #84)
lib, ipcpd, irmd: Add QoS cube definition
Diffstat (limited to 'src/ipcpd/flow.c')
-rw-r--r-- | src/ipcpd/flow.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ipcpd/flow.c b/src/ipcpd/flow.c index 10280f3d..4ca61341 100644 --- a/src/ipcpd/flow.c +++ b/src/ipcpd/flow.c @@ -26,10 +26,11 @@ #define OUROBOROS_PREFIX "ipcpd/flow" #include <ouroboros/logs.h> +#include <ouroboros/flow.h> -flow_t * flow_create(int port_id) +struct flow * flow_create(int port_id) { - flow_t * flow = malloc(sizeof *flow); + struct flow * flow = malloc(sizeof *flow); if (flow == NULL) { LOG_DBGF("Could not malloc flow."); return NULL; @@ -45,7 +46,7 @@ flow_t * flow_create(int port_id) return flow; } -void flow_destroy(flow_t * flow) +void flow_destroy(struct flow * flow) { if (flow == NULL) return; |