panda_parse_string

Function panda_parse_string 

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

panda_parse_string() - Get required value corresponding to this plugin arg as a string. @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, return the associated string value. If the arg is not found, the default will be returned.

Return: a string value.