From b2d6b39b72f908e425469db6bb49be98a6b8fdc2 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 10 Sep 2007 08:39:09 +0000 Subject: [PATCH] New wrapper isoburn_disc_erasable() declares ISO DVD-RAM, DVD+RW erasable --- libisoburn/libisoburn.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libisoburn/libisoburn.h b/libisoburn/libisoburn.h index 5da3057d..255e8fa8 100644 --- a/libisoburn/libisoburn.h +++ b/libisoburn/libisoburn.h @@ -70,6 +70,12 @@ int isoburn_drive_grab(struct burn_drive *drive, int load); enum burn_disc_status isoburn_disc_get_status(struct burn_drive *drive); +/** Tells whether the media can be treated by isoburn_disc_erase(). + Wrapper for: burn_disc_erasable() +*/ +int isoburn_disc_erasable(struct burn_drive *d); + + /** Mark the media as blank. With multi-session media this will call burn_disc_erase(). With random access media, an eventual ISO-9660 filesystem will get invalidated by altering its start blocks on media.