Struct sasl2_sys::saslplug::sasl_server_params
source · #[repr(C)]pub struct sasl_server_params {Show 31 fields
pub service: *const c_char,
pub appname: *const c_char,
pub serverFQDN: *const c_char,
pub user_realm: *const c_char,
pub iplocalport: *const c_char,
pub ipremoteport: *const c_char,
pub servicelen: c_uint,
pub applen: c_uint,
pub slen: c_uint,
pub urlen: c_uint,
pub iploclen: c_uint,
pub ipremlen: c_uint,
pub log_level: c_int,
pub utils: *const sasl_utils_t,
pub callbacks: *const sasl_callback_t,
pub props: sasl_security_properties_t,
pub external_ssf: sasl_ssf_t,
pub transition: Option<unsafe extern "C" fn(conn: *mut sasl_conn_t, pass: *const c_char, passlen: c_uint) -> c_int>,
pub canon_user: Option<unsafe extern "C" fn(conn: *mut sasl_conn_t, user: *const c_char, ulen: c_uint, flags: c_uint, oparams: *mut sasl_out_params_t) -> c_int>,
pub propctx: *mut propctx,
pub gss_creds: *const c_void,
pub cbinding: *const sasl_channel_binding_t,
pub http_request: *const sasl_http_request_t,
pub spare_ptr4: *mut c_void,
pub spare_fptr1: Option<unsafe extern "C" fn() -> c_int>,
pub spare_fptr2: Option<unsafe extern "C" fn() -> c_int>,
pub spare_int1: c_int,
pub spare_int2: c_int,
pub spare_int3: c_int,
pub flags: c_uint,
pub param_version: c_int,
}
Fields§
§service: *const c_char
§appname: *const c_char
§serverFQDN: *const c_char
§user_realm: *const c_char
§iplocalport: *const c_char
§ipremoteport: *const c_char
§servicelen: c_uint
§applen: c_uint
§slen: c_uint
§urlen: c_uint
§iploclen: c_uint
§ipremlen: c_uint
§log_level: c_int
§utils: *const sasl_utils_t
§callbacks: *const sasl_callback_t
§props: sasl_security_properties_t
§external_ssf: sasl_ssf_t
§transition: Option<unsafe extern "C" fn(conn: *mut sasl_conn_t, pass: *const c_char, passlen: c_uint) -> c_int>
§canon_user: Option<unsafe extern "C" fn(conn: *mut sasl_conn_t, user: *const c_char, ulen: c_uint, flags: c_uint, oparams: *mut sasl_out_params_t) -> c_int>
§propctx: *mut propctx
§gss_creds: *const c_void
§cbinding: *const sasl_channel_binding_t
§http_request: *const sasl_http_request_t
§spare_ptr4: *mut c_void
§spare_fptr1: Option<unsafe extern "C" fn() -> c_int>
§spare_fptr2: Option<unsafe extern "C" fn() -> c_int>
§spare_int1: c_int
§spare_int2: c_int
§spare_int3: c_int
§flags: c_uint
§param_version: c_int
Trait Implementations§
source§impl Clone for sasl_server_params
impl Clone for sasl_server_params
source§fn clone(&self) -> sasl_server_params
fn clone(&self) -> sasl_server_params
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for sasl_server_params
Auto Trait Implementations§
impl Freeze for sasl_server_params
impl RefUnwindSafe for sasl_server_params
impl !Send for sasl_server_params
impl !Sync for sasl_server_params
impl Unpin for sasl_server_params
impl UnwindSafe for sasl_server_params
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more