panda_parse_ulong_req

Function panda_parse_ulong_req 

Source
pub unsafe extern "C" fn panda_parse_ulong_req(
    args: *mut panda_arg_list,
    argname: *const c_char,
    help: *const c_char,
) -> target_ulong
Expand description

panda_parse_ulong_req() - Get required value corresponding to this plugin arg as a ulong. @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 ulong and return it. As this argument is required, if no such name is found, plugin load should fail.

Return: a ulong from args.