search for: guestfs__inspect_get_hostname

Displaying 3 results from an estimated 3 matches for "guestfs__inspect_get_hostname".

2012 Mar 19
0
[PATCH] inspection: Set last errno to ENOTSUP when inspection APIs are not available.
...t was compiled without support for inspection, without having to parse error messages. --- src/inspect.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/inspect.c b/src/inspect.c index 60c7dd4..117f57a 100644 --- a/src/inspect.c +++ b/src/inspect.c @@ -542,7 +542,7 @@ guestfs__inspect_get_hostname (guestfs_h *g, const char *root) /* XXX These functions should be in an optgroup. */ #define NOT_IMPL(r) \ - error (g, _("inspection API not available since this version of libguestfs was compiled without the hivex library")); \ +...
2012 Aug 29
5
[PATCH 0/4] Add hivex APIs into the libguestfs API (RHBZ#852394)
This adds most of the hivex APIs directly to the libguestfs API, so that you can read and write Windows Registry hive files from libguestfs without needing to download and upload hive files from the guest. This is analogous to how Augeas APIs are exposed already (guestfs_aug_*) Also, inspection is now done using the new APIs, which fixes the following bug:
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers. These aren't valid for global names in C++. (http://stackoverflow.com/a/228797) These large but completely mechanical patches change the illegal identifiers to legal ones. Rich.