pub unsafe extern "C" fn otCliInterpreterInit(
aBuffer: *mut c_void,
aSize: usize,
aInstance: *mut otInstance,
aCallback: otCliOutputCallback,
aContext: *mut c_void,
) -> *mut otCliInterpreterExpand description
Initializes a CLI interpreter.
@param[in] aBuffer A pointer to a memory buffer for the CLI interpreter. @param[in] aSize The size of the memory buffer. @param[in] aInstance The OpenThread instance structure. @param[in] aCallback A callback method called to process CLI output. @param[in] aContext A user context pointer.
@returns A pointer to the initialized CLI interpreter, or NULL if @p aSize is too small.