dc_serial_open

Function dc_serial_open 

Source
pub unsafe extern "C" fn dc_serial_open(
    iostream: *mut *mut dc_iostream_t,
    context: *mut dc_context_t,
    name: *const c_char,
) -> dc_status_t
Expand description

Open a serial connection.

@param[out] iostream A location to store the serial connection. @param[in] context A valid context object. @param[in] name The name of the device node. @returns #DC_STATUS_SUCCESS on success, or another #dc_status_t code on failure.