pub unsafe extern "C" fn otThreadRegisterNeighborTableCallback(
    aInstance: *mut otInstance,
    aCallback: otNeighborTableCallback
)
Expand description

Registers a neighbor table callback function.

The provided callback (if non-NULL) will be invoked when there is a change in the neighbor table (e.g., a child or a router neighbor entry is being added/removed or an existing child’s mode is changed).

Subsequent calls to this method will overwrite the previous callback. Note that this callback in invoked while the neighbor/child table is being updated and always before the otStateChangedCallback.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aCallback A pointer to callback handler function.