get_backend_setting
Description:
get a single per-backend settings string
Find a backend setting string which is either "name" or begins with "name=". If "name", this returns the string "1". If "name=", this returns the part after the equals sign (which may be an empty string).
If no such setting is found, this function throws an error. The errno (see guestfs_session_last_errno
) will be ESRCH
in this case.
See "BACKEND" in guestfs(3), "BACKEND SETTINGS" in guestfs(3).
Parameters:
this |
A GuestfsSession object |
Returns:
the returned string, or NULL on error |