Function librist_sys::rist_sender_data_write [−][src]
pub unsafe extern "C" fn rist_sender_data_write(
ctx: *mut rist_ctx,
data_block: *const rist_data_block
) -> c_int
@brief Write data into a librist packet.
One sender can send write data into a librist packet.
@param ctx RIST sender context @param data_block pointer to the rist_data_block structure the ts_ntp will be populated by the lib if a value of 0 is passed @return number of written bytes on success, -1 in case of error.