Function libiio_sys::iio_create_xml_context_mem
source · [−]pub unsafe extern "C" fn iio_create_xml_context_mem(
xml: *const c_char,
len: usize
) -> *mut iio_context
Expand description
@brief Create a context from XML data in memory @param xml Pointer to the XML data in memory @param len Length of the XML string in memory (excluding the final \0) @return On success, A pointer to an iio_context structure @return On failure, NULL is returned and errno is set appropriately
NOTE: The format of the XML must comply to the one returned by iio_context_get_xml