Struct milter_sys::smfiDesc [−][src]
#[repr(C)]pub struct smfiDesc {Show 16 fields
pub xxfi_name: *mut c_char,
pub xxfi_version: c_int,
pub xxfi_flags: c_ulong,
pub xxfi_connect: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, hostname: *mut c_char, hostaddr: *mut sockaddr) -> sfsistat>,
pub xxfi_helo: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, helohost: *mut c_char) -> sfsistat>,
pub xxfi_envfrom: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, argv: *mut *mut c_char) -> sfsistat>,
pub xxfi_envrcpt: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, argv: *mut *mut c_char) -> sfsistat>,
pub xxfi_header: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, headerf: *mut c_char, headerv: *mut c_char) -> sfsistat>,
pub xxfi_eoh: Option<unsafe extern "C" fn(ctx: *mut SMFICTX) -> sfsistat>,
pub xxfi_body: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, bodyp: *mut c_uchar, bodylen: size_t) -> sfsistat>,
pub xxfi_eom: Option<unsafe extern "C" fn(ctx: *mut SMFICTX) -> sfsistat>,
pub xxfi_abort: Option<unsafe extern "C" fn(ctx: *mut SMFICTX) -> sfsistat>,
pub xxfi_close: Option<unsafe extern "C" fn(ctx: *mut SMFICTX) -> sfsistat>,
pub xxfi_unknown: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, arg: *const c_char) -> sfsistat>,
pub xxfi_data: Option<unsafe extern "C" fn(ctx: *mut SMFICTX) -> sfsistat>,
pub xxfi_negotiate: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, f0: c_ulong, f1: c_ulong, f2: c_ulong, f3: c_ulong, pf0: *mut c_ulong, pf1: *mut c_ulong, pf2: *mut c_ulong, pf3: *mut c_ulong) -> sfsistat>,
}
Fields
xxfi_name: *mut c_char
xxfi_version: c_int
xxfi_flags: c_ulong
xxfi_connect: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, hostname: *mut c_char, hostaddr: *mut sockaddr) -> sfsistat>
xxfi_helo: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, helohost: *mut c_char) -> sfsistat>
xxfi_envfrom: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, argv: *mut *mut c_char) -> sfsistat>
xxfi_envrcpt: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, argv: *mut *mut c_char) -> sfsistat>
xxfi_header: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, headerf: *mut c_char, headerv: *mut c_char) -> sfsistat>
xxfi_eoh: Option<unsafe extern "C" fn(ctx: *mut SMFICTX) -> sfsistat>
xxfi_body: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, bodyp: *mut c_uchar, bodylen: size_t) -> sfsistat>
xxfi_eom: Option<unsafe extern "C" fn(ctx: *mut SMFICTX) -> sfsistat>
xxfi_abort: Option<unsafe extern "C" fn(ctx: *mut SMFICTX) -> sfsistat>
xxfi_close: Option<unsafe extern "C" fn(ctx: *mut SMFICTX) -> sfsistat>
xxfi_unknown: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, arg: *const c_char) -> sfsistat>
xxfi_data: Option<unsafe extern "C" fn(ctx: *mut SMFICTX) -> sfsistat>
xxfi_negotiate: Option<unsafe extern "C" fn(ctx: *mut SMFICTX, f0: c_ulong, f1: c_ulong, f2: c_ulong, f3: c_ulong, pf0: *mut c_ulong, pf1: *mut c_ulong, pf2: *mut c_ulong, pf3: *mut c_ulong) -> sfsistat>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for smfiDesc
impl UnwindSafe for smfiDesc
Blanket Implementations
Mutably borrows from an owned value. Read more