diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-03-23 16:00:48 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-03-23 16:00:48 +0000 |
commit | 3f1e3223c491aa057d02c1da418ed896d09fff7c (patch) | |
tree | 7859c338e4264acaa5656adc2ab67156de794c51 /src/guestfs-internal.h | |
parent | 0daf7e81a659bcdc1ce327151cc1207b124a35a1 (diff) | |
download | libguestfs-3f1e3223c491aa057d02c1da418ed896d09fff7c.tar.gz libguestfs-3f1e3223c491aa057d02c1da418ed896d09fff7c.tar.xz libguestfs-3f1e3223c491aa057d02c1da418ed896d09fff7c.zip |
New API: guestfs_inspect_get_product_variant
This returns a product variant for inspected operating systems. In
practice this is a useful way to distinguish between consumer and
enterprise/server versions of Windows that otherwise have the same
version number.
Notes
Notes:
Labels: feature
Diffstat (limited to 'src/guestfs-internal.h')
-rw-r--r-- | src/guestfs-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index d0dcf235..155763d8 100644 --- a/src/guestfs-internal.h +++ b/src/guestfs-internal.h @@ -244,6 +244,7 @@ struct inspect_fs { enum inspect_os_package_format package_format; enum inspect_os_package_management package_management; char *product_name; + char *product_variant; int major_version; int minor_version; char *arch; |