From 897f9d26bcccc314dcb83de49a56bb78ecefff05 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 3 Mar 2011 13:23:23 +0000 Subject: [PATCH] Fix inspection code when PCRE or hivex is missing. (cherry picked from commit 2b26c7f721fc8ed2e6f64963289981ac286c02aa) --- src/inspect.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/inspect.c b/src/inspect.c index 50c4e72..4007f47 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 -- 1.8.3.1