panda_parse_uint32

Function panda_parse_uint32 

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

panda_parse_uint32() - Get value corresponding to this plugin arg as a uint32, with default. @args: The previously parsed panda_arg_list. @argname: The name of the argument in args. @defval: A default value.

Look through the arguments in args, and if any have name argname, translate the associated value into a uint32 and return it. If no such name is found, use the provided default.

Return: a uint32 from args or default.