[][src]Function openthread_sys::otInstanceIsInitialized

pub unsafe extern "C" fn otInstanceIsInitialized(
    aInstance: *mut otInstance
) -> bool

This function indicates whether or not the instance is valid/initialized.

The instance is considered valid if it is acquired and initialized using either otInstanceInitSingle() (in single instance case) or otInstanceInit() (in multi instance case). A subsequent call to otInstanceFinalize() causes the instance to be considered as uninitialized.

@param[in] aInstance A pointer to an OpenThread instance.

@returns TRUE if the given instance is valid/initialized, FALSE otherwise.