Function libiio_sys::iio_create_xml_context
source · pub unsafe extern "C" fn iio_create_xml_context(
xml_file: *const c_char
) -> *mut iio_context
Expand description
@brief Create a context from a XML file @param xml_file Path to the XML file to open @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.