Added dmesg command.
[libguestfs.git] / perl / Guestfs.xs
index 3c5f713..1a45c79 100644 (file)
@@ -1647,3 +1647,14 @@ PREINIT:
       if (r == -1)
         croak ("mv: %s", guestfs_last_error (g));
 
+void
+drop_caches (g, whattodrop)
+      guestfs_h *g;
+      int whattodrop;
+PREINIT:
+      int r;
+ PPCODE:
+      r = guestfs_drop_caches (g, whattodrop);
+      if (r == -1)
+        croak ("drop_caches: %s", guestfs_last_error (g));
+