libburn  1.2.8
Data Fields
burn_drive_info Struct Reference

Information on a drive in the system. More...

#include <libburn.h>

Data Fields

char vendor [9]
 Name of the vendor of the drive.
char product [17]
 Name of the drive.
char revision [5]
 Revision of the drive.
char location [17]
 Invalid: Was: "Location of the drive in the filesystem.".
unsigned int read_dvdram:1
 Can the drive read DVD-RAM discs.
unsigned int read_dvdr:1
 Can the drive read DVD-R discs.
unsigned int read_dvdrom:1
 Can the drive read DVD-ROM discs.
unsigned int read_cdr:1
 Can the drive read CD-R discs.
unsigned int read_cdrw:1
 Can the drive read CD-RW discs.
unsigned int write_dvdram:1
 Can the drive write DVD-RAM discs.
unsigned int write_dvdr:1
 Can the drive write DVD-R discs.
unsigned int write_cdr:1
 Can the drive write CD-R discs.
unsigned int write_cdrw:1
 Can the drive write CD-RW discs.
unsigned int write_simulate:1
 Can the drive simulate a write.
unsigned int c2_errors:1
 Can the drive report C2 errors.
int buffer_size
 The size of the drive's buffer (in kilobytes)
int tao_block_types
 The supported block types in tao mode.
int sao_block_types
 The supported block types in sao mode.
int raw_block_types
 The supported block types in raw mode.
int packet_block_types
 The supported block types in packet mode.
struct burn_drive * drive
 The value by which this drive can be indexed when using functions in the library.

Detailed Description

Information on a drive in the system.

Definition at line 582 of file libburn.h.


Field Documentation

int burn_drive_info::buffer_size

The size of the drive's buffer (in kilobytes)

Definition at line 624 of file libburn.h.

unsigned int burn_drive_info::c2_errors

Can the drive report C2 errors.

Definition at line 621 of file libburn.h.

struct burn_drive* burn_drive_info::drive

The value by which this drive can be indexed when using functions in the library.

This is the value to pass to all libbburn functions that operate on a drive.

Definition at line 653 of file libburn.h.

Referenced by libburner_aquire_by_driveno(), and libburner_aquire_drive().

char burn_drive_info::location[17]

Invalid: Was: "Location of the drive in the filesystem.".

This string has no meaning any more. Once it stored the drive device file address. Now always use function burn_drive_d_get_adr() to inquire a device file address. ^^^^^ ALWAYS ^^^^^^^

Definition at line 595 of file libburn.h.

int burn_drive_info::packet_block_types

The supported block types in packet mode.

They should be tested with the desired block type. See also burn_block_types.

Definition at line 648 of file libburn.h.

char burn_drive_info::product[17]

Name of the drive.

Definition at line 587 of file libburn.h.

Referenced by libburner_aquire_by_driveno().

int burn_drive_info::raw_block_types

The supported block types in raw mode.

They should be tested with the desired block type. See also burn_block_types.

Definition at line 642 of file libburn.h.

unsigned int burn_drive_info::read_cdr

Can the drive read CD-R discs.

Definition at line 604 of file libburn.h.

unsigned int burn_drive_info::read_cdrw

Can the drive read CD-RW discs.

Definition at line 606 of file libburn.h.

unsigned int burn_drive_info::read_dvdr

Can the drive read DVD-R discs.

Definition at line 600 of file libburn.h.

unsigned int burn_drive_info::read_dvdram

Can the drive read DVD-RAM discs.

Definition at line 598 of file libburn.h.

unsigned int burn_drive_info::read_dvdrom

Can the drive read DVD-ROM discs.

Definition at line 602 of file libburn.h.

char burn_drive_info::revision[5]

Revision of the drive.

Definition at line 589 of file libburn.h.

int burn_drive_info::sao_block_types

The supported block types in sao mode.

They should be tested with the desired block type. See also burn_block_types.

Definition at line 636 of file libburn.h.

int burn_drive_info::tao_block_types

The supported block types in tao mode.

They should be tested with the desired block type. See also burn_block_types.

Definition at line 630 of file libburn.h.

char burn_drive_info::vendor[9]

Name of the vendor of the drive.

Definition at line 585 of file libburn.h.

Referenced by libburner_aquire_by_driveno().

unsigned int burn_drive_info::write_cdr

Can the drive write CD-R discs.

Definition at line 613 of file libburn.h.

unsigned int burn_drive_info::write_cdrw

Can the drive write CD-RW discs.

Definition at line 615 of file libburn.h.

unsigned int burn_drive_info::write_dvdr

Can the drive write DVD-R discs.

Definition at line 611 of file libburn.h.

unsigned int burn_drive_info::write_dvdram

Can the drive write DVD-RAM discs.

Definition at line 609 of file libburn.h.

unsigned int burn_drive_info::write_simulate

Can the drive simulate a write.

Definition at line 618 of file libburn.h.


The documentation for this struct was generated from the following file: