Skip to main content

cfm_tc_session_round

Function cfm_tc_session_round 

Source
#[unsafe(no_mangle)]
pub extern "C" fn cfm_tc_session_round( session: *mut FFITcSession, incoming: *const CFMTcMessage, incoming_count: u32, outgoing: *mut *mut CFMTcMessageArray, outgoing_count: *mut u32, complete: *mut u8, ) -> u32
Expand description

Step the session forward one round.

  • incoming / incoming_count: messages received since the last round (may be NULL / 0 for the first round).
  • outgoing / outgoing_count: on success set to a heap-allocated CFMTcMessageArray; free with cfm_tc_messages_destroy.
  • complete: set to 1 when the session has produced its result.