pub unsafe extern "C" fn gnrc_netreg_getnext(
entry: *mut gnrc_netreg_entry_t,
) -> *mut gnrc_netreg_entry_t
Expand description
@brief Returns the next entry after @p entry with the same gnrc_netreg_entry_t::type and gnrc_netreg_entry_t::demux_ctx as the given entry.
The requirement on holding the global lock through @ref gnrc_netreg_acquire_shared from @ref gnrc_netreg_lookup extends to any results of this function: It may only be released when none of the pointers are used any more.
@param[in] entry A registry entry retrieved by gnrc_netreg_lookup() or gnrc_netreg_getnext(). Must not be NULL.
@return The next entry after @p entry fitting the given parameters on success @return NULL if no entry new entry can be found.