summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp-data.h
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-04-19 19:23:23 +0200
committerdimitri staessens <[email protected]>2016-04-19 19:23:23 +0200
commit0921044139bf323c308ff73109b508250db9db02 (patch)
tree0de76147c8a7beb4c23a1931f822113b61c51a5b /src/ipcpd/ipcp-data.h
parent468729f048f1cdafa7a83ba388bfe2e26588d776 (diff)
downloadouroboros-0921044139bf323c308ff73109b508250db9db02.tar.gz
ouroboros-0921044139bf323c308ff73109b508250db9db02.zip
ipcpd: fixes in ipcp-data
deletion of flows was not implemented, renamed to ipcp_data_del_flow removal of stub for has_flow_s (not needed) made find_flow public, renamed to ipcp_data_find_flow
Diffstat (limited to 'src/ipcpd/ipcp-data.h')
-rw-r--r--src/ipcpd/ipcp-data.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ipcpd/ipcp-data.h b/src/ipcpd/ipcp-data.h
index a8db44f7..3f036ef5 100644
--- a/src/ipcpd/ipcp-data.h
+++ b/src/ipcpd/ipcp-data.h
@@ -80,12 +80,11 @@ uint64_t ipcp_data_get_addr(struct ipcp_data * data,
const char * ap_name);
bool ipcp_data_has_flow(struct ipcp_data * data,
uint32_t port_id);
-bool ipcp_data_has_flow_s(struct ipcp_data * data,
- uint32_t port_id,
- enum flow_state state);
+flow_t * ipcp_data_find_flow(struct ipcp_data * data,
+ uint32_t port_id);
int ipcp_data_add_flow(struct ipcp_data * data,
flow_t * flow);
-int ipcp_data_remove_flow(struct ipcp_data * data,
- uint32_t port_id);
+int ipcp_data_del_flow(struct ipcp_data * data,
+ uint32_t port_id);
#endif /* IPCPD_IPCP_DATA_H */