parse_environment_list


Description:

[ Version ( since = "1.19.53" ) ]
public bool parse_environment_list (string[] environment) throws Error

parse the environment and set handle flags accordingly

Parse the list of strings in the argument environment and set flags in the handle accordingly. For example if "LIBGUESTFS_DEBUG=1" is a string in the list, then the ‘verbose’ flag is set in the handle.

This is the same as parse_environment except that it parses an explicit list of strings instead of the program's environment.

Parameters:

this

A GuestfsSession object

environment

an array of strings

Returns:

true on success, false on error