aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/core/listener_table.h
diff options
context:
space:
mode:
authorEnrico Loparco (eloparco) <eloparco@cisco.com>2021-06-24 17:04:19 +0200
committerEnrico Loparco (eloparco) <eloparco@cisco.com>2021-06-24 17:04:19 +0200
commitaf389692c0a687675c74fd432e3a2309337ad3c9 (patch)
tree466e0cda39ca97f37c7b6e3f4fd849fb6e4822cb /hicn-light/src/hicn/core/listener_table.h
parent4f1b9570602c069746a9d63197df29e8b5195df2 (diff)
[HICN-712] Fix listener table retrievalhicn-light-ng
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I8cd7c37a570011c2215255fab5e020291dfd0ef7
Diffstat (limited to 'hicn-light/src/hicn/core/listener_table.h')
-rw-r--r--hicn-light/src/hicn/core/listener_table.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/core/listener_table.h b/hicn-light/src/hicn/core/listener_table.h
index 292c489a5..91e985221 100644
--- a/hicn-light/src/hicn/core/listener_table.h
+++ b/hicn-light/src/hicn/core/listener_table.h
@@ -253,6 +253,9 @@ listener_t * listener_table_get_by_name(listener_table_t * table,
*/
void listener_table_remove_by_id(listener_table_t * table, off_t id);
-unsigned listener_table_add(listener_table_t * table, listener_t * listener);
+// TODO: not implemented yet
+unsigned listener_table_add(const listener_table_t * table, listener_t * listener);
+
+void listener_table_print(const listener_table_t *table);
#endif /* HICNLIGHT_LISTENER_TABLE_H */