diff options
author | Enrico Loparco (eloparco) <eloparco@cisco.com> | 2021-06-24 00:54:34 +0200 |
---|---|---|
committer | Enrico Loparco (eloparco) <eloparco@cisco.com> | 2021-06-24 09:32:40 +0200 |
commit | 4f1b9570602c069746a9d63197df29e8b5195df2 (patch) | |
tree | 7e227c9115d2c47722b2967de86b4fcccf9fbcd1 /hicn-light/src/hicn/core/listener_table.c | |
parent | 7c2dc50e82152fe4ef4a69a799a80b747e444a37 (diff) |
[HICN-711] Add tests for listener table and size check in bitmap
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
Change-Id: I573477186fc9f0c294975b15b1c908444d5c5559
Diffstat (limited to 'hicn-light/src/hicn/core/listener_table.c')
-rw-r--r-- | hicn-light/src/hicn/core/listener_table.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hicn-light/src/hicn/core/listener_table.c b/hicn-light/src/hicn/core/listener_table.c index 9750fbbe8..7a3987c37 100644 --- a/hicn-light/src/hicn/core/listener_table.c +++ b/hicn-light/src/hicn/core/listener_table.c @@ -104,3 +104,7 @@ listener_table_get_by_name(listener_table_t * table, const char * name) return NULL; return listener_table_at(table, kh_val(table->id_by_name, k)); } + +listener_t *_listener_table_get_by_id(listener_table_t *table, off_t id) { + return listener_table_get_by_id(table, id); +}
\ No newline at end of file |