blob: 62f7f3cf54ae86f18f8a5e8a955c9389a8f70b7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
//
// This is part of dvd+rw-tools by Andy Polyakov <appro@fy.chalmers.se>
//
// Use-it-on-your-own-risk, GPL bless...
//
// For further details see http://fy.chalmers.se/~appro/linux/DVD+RW/
//
#ifndef LINUX_DVD_RW_UTILS_H
#define LINUX_DVD_RW_UTILS_H
#include <glib.h>
#define DRIVE_CDROM_CAPS_DVDRW 1
#define DRIVE_CDROM_CAPS_DVDRDL 2
#define DRIVE_CDROM_CAPS_DVDPLUSR 4
#define DRIVE_CDROM_CAPS_DVDPLUSRW 8
#define DRIVE_CDROM_CAPS_DVDPLUSRWDL 16
#define DRIVE_CDROM_CAPS_DVDPLUSRDL 32
#define DRIVE_CDROM_CAPS_BDROM 64
#define DRIVE_CDROM_CAPS_BDR 128
#define DRIVE_CDROM_CAPS_BDRE 256
#define DRIVE_CDROM_CAPS_HDDVDROM 512
#define DRIVE_CDROM_CAPS_HDDVDR 1024
#define DRIVE_CDROM_CAPS_HDDVDRW 2048
int get_dvd_r_rw_profile (int fd);
int get_read_write_speed (int fd, int *read_speed, int *write_speed, char **write_speeds);
int get_disc_capacity_for_type (int fd, int type, guint64 *capacity);
int get_disc_type (int fd);
int disc_is_appendable (int fd);
int disc_is_rewritable (int fd);
#endif /* LINUX_DVD_RW_UTILS_H */
|