Main Page | Data Structures | Directories | File List | Data Fields | Globals

burn_source Struct Reference

#include <libburn.h>


Detailed Description

Data source for tracks.

Definition at line 266 of file libburn.h.

Data Fields

int refcount
 Reference count for the data source.
int(* read )(struct burn_source *, unsigned char *buffer, int size)
 Read data from the source.
int(* read_sub )(struct burn_source *, unsigned char *buffer, int size)
 Read subchannel data from the source (NULL if lib generated).
int(* get_size )(struct burn_source *)
 Get the size of the source's data.
void(* free_data )(struct burn_source *)
 Clean up the source specific data.
burn_sourcenext
 Next source, for when a source runs dry and padding is disabled THIS IS AUTOMATICALLY HANDLED, DO NOT TOUCH.
void * data
 Source specific data.


Field Documentation

void* burn_source::data
 

Source specific data.

Definition at line 294 of file libburn.h.

void(* burn_source::free_data)(struct burn_source *)
 

Clean up the source specific data.

int(* burn_source::get_size)(struct burn_source *)
 

Get the size of the source's data.

struct burn_source* burn_source::next
 

Next source, for when a source runs dry and padding is disabled THIS IS AUTOMATICALLY HANDLED, DO NOT TOUCH.

Definition at line 291 of file libburn.h.

int(* burn_source::read)(struct burn_source *, unsigned char *buffer, int size)
 

Read data from the source.

int(* burn_source::read_sub)(struct burn_source *, unsigned char *buffer, int size)
 

Read subchannel data from the source (NULL if lib generated).

int burn_source::refcount
 

Reference count for the data source.

Should be 1 when a new source is created. Increment it to take a reference for yourself. Use burn_source_free to destroy your reference to it.

Definition at line 270 of file libburn.h.


The documentation for this struct was generated from the following file:
Generated on Mon Feb 13 18:31:19 2006 for libburn by  doxygen 1.4.2