Skip to main content

arg_hdr_t

Type Alias arg_hdr_t 

Source
pub type arg_hdr_t = arg_hdr;

Aliased Type§

#[repr(C)]
pub struct arg_hdr_t {
Show 13 fields pub flag: u8, pub shortopts: *const u8, pub longopts: *const u8, pub datatype: *const u8, pub glossary: *const u8, pub mincount: i32, pub maxcount: i32, pub parent: *mut c_void, pub resetfn: Option<unsafe extern "C" fn(*mut c_void)>, pub scanfn: Option<unsafe extern "C" fn(*mut c_void, *const u8) -> i32>, pub checkfn: Option<unsafe extern "C" fn(*mut c_void) -> i32>, pub errorfn: Option<unsafe extern "C" fn(*mut c_void, *mut _internal_arg_dstr, i32, *const u8, *const u8)>, pub priv_: *mut c_void,
}

Fields§

§flag: u8§shortopts: *const u8§longopts: *const u8§datatype: *const u8§glossary: *const u8§mincount: i32§maxcount: i32§parent: *mut c_void§resetfn: Option<unsafe extern "C" fn(*mut c_void)>§scanfn: Option<unsafe extern "C" fn(*mut c_void, *const u8) -> i32>§checkfn: Option<unsafe extern "C" fn(*mut c_void) -> i32>§errorfn: Option<unsafe extern "C" fn(*mut c_void, *mut _internal_arg_dstr, i32, *const u8, *const u8)>§priv_: *mut c_void