[][src]Struct libobliv_sys::ProtocolDesc

#[repr(C)]
pub struct ProtocolDesc {
    pub partyCount: c_int,
    pub thisParty: c_int,
    pub error: c_int,
    pub trans: *mut ProtocolTransport,
    pub __bindgen_anon_1: ProtocolDesc__bindgen_ty_1,
    pub currentParty: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc) -> c_int>,
    pub feedOblivInputs: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut OblivInputs, arg3: usize, arg4: c_int)>,
    pub revealOblivBits: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut widest_t, arg3: *const OblivBit, arg4: usize, arg5: c_int) -> bool>,
    pub setBitAnd: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut OblivBit, arg3: *const OblivBit, arg4: *const OblivBit)>,
    pub setBitOr: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut OblivBit, arg3: *const OblivBit, arg4: *const OblivBit)>,
    pub setBitXor: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut OblivBit, arg3: *const OblivBit, arg4: *const OblivBit)>,
    pub setBitNot: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut OblivBit, arg3: *const OblivBit)>,
    pub flipBit: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut OblivBit)>,
    pub extra: *mut c_void,
    pub splitextra: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut ProtocolDesc)>,
    pub cleanextra: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc)>,
}

Fields

partyCount: c_intthisParty: c_interror: c_inttrans: *mut ProtocolTransport__bindgen_anon_1: ProtocolDesc__bindgen_ty_1currentParty: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc) -> c_int>feedOblivInputs: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut OblivInputs, arg3: usize, arg4: c_int)>revealOblivBits: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut widest_t, arg3: *const OblivBit, arg4: usize, arg5: c_int) -> bool>setBitAnd: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut OblivBit, arg3: *const OblivBit, arg4: *const OblivBit)>setBitOr: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut OblivBit, arg3: *const OblivBit, arg4: *const OblivBit)>setBitXor: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut OblivBit, arg3: *const OblivBit, arg4: *const OblivBit)>setBitNot: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut OblivBit, arg3: *const OblivBit)>flipBit: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut OblivBit)>extra: *mut c_voidsplitextra: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc, arg2: *mut ProtocolDesc)>cleanextra: Option<unsafe extern "C" fn(arg1: *mut ProtocolDesc)>

Trait Implementations

impl Clone for ProtocolDesc[src]

impl Copy for ProtocolDesc[src]

Auto Trait Implementations

impl RefUnwindSafe for ProtocolDesc

impl !Send for ProtocolDesc

impl !Sync for ProtocolDesc

impl Unpin for ProtocolDesc

impl UnwindSafe for ProtocolDesc

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.