[][src]Function openthread_sys::otServerGetNextService

pub unsafe extern "C" fn otServerGetNextService(
    aInstance: *mut otInstance,
    aIterator: *mut otNetworkDataIterator,
    aConfig: *mut otServiceConfig
) -> otError

This function gets the next service in the local Network Data.

@param[in] aInstance A pointer to an OpenThread instance. @param[inout] aIterator A pointer to the Network Data iterator context. To get the first service entry it should be set to OT_NETWORK_DATA_ITERATOR_INIT. @param[out] aConfig A pointer to where the service information will be placed.

@retval OT_ERROR_NONE Successfully found the next service. @retval OT_ERROR_NOT_FOUND No subsequent service exists in the Thread Network Data.