Fix inspection code when PCRE or hivex is missing.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 3 Mar 2011 13:23:23 +0000 (13:23 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 3 Mar 2011 13:23:34 +0000 (13:23 +0000)
src/inspect.c

index ac2050c..4986cac 100644 (file)
@@ -2858,6 +2858,30 @@ guestfs__inspect_list_applications (guestfs_h *g, const char *root)
   NOT_IMPL(NULL);
 }
 
   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
 #endif /* no PCRE or hivex at compile time */
 
 void