Type Alias TCPDPROC

Source
pub type TCPDPROC = Option<unsafe extern "C" fn(vbuf: *const c_void, vsiz: c_int, sp: *mut c_int, op: *mut c_void) -> *mut c_void>;

Aliased Type§

enum TCPDPROC {
    None,
    Some(unsafe extern "C" fn(_: *const c_void, _: i32, _: *mut i32, _: *mut c_void) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const c_void, _: i32, _: *mut i32, _: *mut c_void) -> *mut c_void)

Some value of type T.