summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-03-03 13:23:23 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-03-08 14:57:28 +0000
commit897f9d26bcccc314dcb83de49a56bb78ecefff05 (patch)
treefcd672c54b65097e53284860875e55f3fc2edd53
parente160acc6a2e230857e0e5e8ccf7cb2a58acdb92c (diff)
downloadlibguestfs-897f9d26bcccc314dcb83de49a56bb78ecefff05.tar.gz
libguestfs-897f9d26bcccc314dcb83de49a56bb78ecefff05.tar.xz
libguestfs-897f9d26bcccc314dcb83de49a56bb78ecefff05.zip
Fix inspection code when PCRE or hivex is missing.
(cherry picked from commit 2b26c7f721fc8ed2e6f64963289981ac286c02aa)
-rw-r--r--src/inspect.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/inspect.c b/src/inspect.c
index 50c4e728..4007f473 100644
--- a/src/inspect.c
+++ b/src/inspect.c
@@ -2366,6 +2366,30 @@ guestfs__inspect_list_applications (guestfs_h *g, const char *root)
NOT_IMPL(NULL);
}
+char *
+guestfs__inspect_get_format (guestfs_h *g, const char *root)
+{
+ NOT_IMPL(NULL);
+}
+
+int
+guestfs__inspect_is_live (guestfs_h *g, const char *root)
+{
+ NOT_IMPL(-1);
+}
+
+int
+guestfs__inspect_is_netinst (guestfs_h *g, const char *root)
+{
+ NOT_IMPL(-1);
+}
+
+int
+guestfs__inspect_is_multipart (guestfs_h *g, const char *root)
+{
+ NOT_IMPL(-1);
+}
+
#endif /* no PCRE or hivex at compile time */
void