Type Alias esp_idf_svc::sys::arg_hdr_t
source · pub type arg_hdr_t = arg_hdr;
Aliased Type§
struct arg_hdr_t {Show 13 fields
pub flag: i8,
pub shortopts: *const i8,
pub longopts: *const i8,
pub datatype: *const i8,
pub glossary: *const i8,
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 i8) -> 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 i8, _: *const i8)>,
pub priv_: *mut c_void,
}
Fields§
§flag: i8
§shortopts: *const i8
§longopts: *const i8
§datatype: *const i8
§glossary: *const i8
§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 i8) -> 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 i8, _: *const i8)>
§priv_: *mut c_void