X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=inline;f=perl%2FGuestfs.xs;h=1a45c796e351b0157f6be37a4ee2812b4de3bcb2;hb=9222136ac9b2e404dba128b1ac74dacaa8bf1038;hp=3c5f7138669ee995b2309d0a2f63eda39b384fb8;hpb=2dc9e8a858b62830d15a8186fe575eb7903d2171;p=libguestfs.git diff --git a/perl/Guestfs.xs b/perl/Guestfs.xs index 3c5f713..1a45c79 100644 --- a/perl/Guestfs.xs +++ b/perl/Guestfs.xs @@ -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)); +