diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-11-15 12:26:36 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-11-15 22:25:16 +0000 |
commit | 163be3d72a3f3dc902bcd0856d8aec448bc7907f (patch) | |
tree | e01c98b370419b3db5422ffa0203000e867064a6 /generator/generator_structs.ml | |
parent | 8a3a4c25d3bb63674c9ccf8483d9bfd89085fe47 (diff) | |
download | libguestfs-163be3d72a3f3dc902bcd0856d8aec448bc7907f.tar.gz libguestfs-163be3d72a3f3dc902bcd0856d8aec448bc7907f.tar.xz libguestfs-163be3d72a3f3dc902bcd0856d8aec448bc7907f.zip |
New API: inspect-list-applications.
This converts the current Perl code in virt-inspector for
listing applications, into C, making it a part of the core API.
This is also capable of fetching the list of Windows applications
from the registry.
Diffstat (limited to 'generator/generator_structs.ml')
-rw-r--r-- | generator/generator_structs.ml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/generator/generator_structs.ml b/generator/generator_structs.ml index 9cd585b3..8fd12e4e 100644 --- a/generator/generator_structs.ml +++ b/generator/generator_structs.ml @@ -175,6 +175,22 @@ let structs = [ "part_end", FBytes; "part_size", FBytes; ]; + + (* Application. *) + "application", [ + "app_name", FString; + "app_display_name", FString; + "app_epoch", FInt32; + "app_version", FString; + "app_release", FString; + "app_install_path", FString; + "app_trans_path", FString; + "app_publisher", FString; + "app_url", FString; + "app_source_package", FString; + "app_summary", FString; + "app_description", FString; + ]; ] (* end of structs *) (* Ugh, Java has to be different .. @@ -192,6 +208,7 @@ let java_structs = [ "xattr", "XAttr"; "inotify_event", "INotifyEvent"; "partition", "Partition"; + "application", "Application"; ] let java_name_of_struct typ = |