panda_parse_uint32_req

Function panda_parse_uint32_req 

Source
pub unsafe extern "C" fn panda_parse_uint32_req(
    args: *mut panda_arg_list,
    argname: *const i8,
    help: *const i8,
) -> u32
Expand description

panda_parse_uint32_req() - Get required value corresponding to this plugin arg as a uint32. @args: The previously parsed panda_arg_list. @argname: The name of the argument in args. @help: Help text.

Look through the arguments in args, and if any have name argname, translate the associated value into a uint32 and return it. As this argument is required, if no such name is found, plugin load should fail.

Return: a uint32 from args.