diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-07-18 18:31:46 +0200 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-10-12 13:27:54 +0000 |
commit | eefc7ae95bbd680416163e5617bada1949b32afc (patch) | |
tree | 336a4100832001b2991be007749d12ec5c28c1a0 /hicn-light/src/hicn/io/listenerSet.h | |
parent | 91304b8cb75df7cb516518b53e3c1156d0f27ba5 (diff) |
[HICN-247] remove listener and bug fixing
Change-Id: I4e5419a837131680fe0e21eb295462ccb2be8613
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'hicn-light/src/hicn/io/listenerSet.h')
-rw-r--r-- | hicn-light/src/hicn/io/listenerSet.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/io/listenerSet.h b/hicn-light/src/hicn/io/listenerSet.h index c8937fa02..5779d2af4 100644 --- a/hicn-light/src/hicn/io/listenerSet.h +++ b/hicn-light/src/hicn/io/listenerSet.h @@ -135,7 +135,6 @@ ListenerOps *listenerSet_Get(const ListenerSet *set, size_t index); ListenerOps *listenerSet_Find(const ListenerSet *set, EncapType encapType, const Address *localAddress); - /** * Looks up a listener by its id * @@ -153,6 +152,7 @@ ListenerOps *listenerSet_Find(const ListenerSet *set, EncapType encapType, * @endcode */ ListenerOps *listenerSet_FindById(const ListenerSet *set, unsigned id); + /** * Looks up a listener by its id * @@ -171,4 +171,18 @@ ListenerOps *listenerSet_FindById(const ListenerSet *set, unsigned id); */ int listenerSet_FindIdByListenerName(const ListenerSet *set, const char *listenerName); +/** + * Remove up a listener by its id + * + * <#Paragraphs Of Explanation#> + * + * @param [in] set An allocated listener set + * @param [in] id of the listener + * + * Example: + * @code + * + * @endcode + */ +void listenerSet_RemoveById(const ListenerSet *set, unsigned id); #endif |