dc_iostream_configure

Function dc_iostream_configure 

Source
pub unsafe extern "C" fn dc_iostream_configure(
    iostream: *mut dc_iostream_t,
    baudrate: c_uint,
    databits: c_uint,
    parity: dc_parity_t,
    stopbits: dc_stopbits_t,
    flowcontrol: dc_flowcontrol_t,
) -> dc_status_t
Expand description

Configure the line settings.

@param[in] iostream A valid I/O stream. @param[in] baudrate The baud rate setting. @param[in] databits The number of data bits. @param[in] parity The parity setting. @param[in] stopbits The number of stop bits. @param[in] flowcontrol The flow control setting. @returns #DC_STATUS_SUCCESS on success, or another #dc_status_t code on failure.