xorriso  1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

source.c File Reference
#include <stdlib.h>
#include <string.h>
#include "libburn.h"
#include "source.h"
#include "structure.h"
#include "init.h"
Include dependency graph for source.c:

Go to the source code of this file.


void burn_source_free (struct burn_source *src)
enum burn_source_status burn_track_set_source (struct burn_track *t, struct burn_source *s)
struct burn_sourceburn_source_new (void)
int burn_source_cancel (struct burn_source *src)
int burn_source_read (struct burn_source *src, unsigned char *buffer, int size)

Function Documentation

◆ burn_source_cancel()

int burn_source_cancel ( struct burn_source src)

◆ burn_source_free()

void burn_source_free ( struct burn_source s)

Free a burn_source (decrease its refcount and maybe free it)

sSource to free

Definition at line 20 of file source.c.

References burn_source::free_data, and burn_source::refcount.

Referenced by burn_track_free(), cue_crs_destroy(), cue_interpret_line(), fifo_free(), isoburn_cancel_prepared_write(), isoburn_destroy(), offst_free(), and Xorriso_burn_track().

◆ burn_source_new()

struct burn_source* burn_source_new ( void  )

◆ burn_source_read()

int burn_source_read ( struct burn_source src,
unsigned char *  buffer,
int  size 

Definition at line 67 of file source.c.

References burn_source::read, and burn_source::read_xt.

Referenced by offst_read().

◆ burn_track_set_source()

enum burn_source_status burn_track_set_source ( struct burn_track t,
struct burn_source s 

Set the track's data source

tThe track to set the data source for
sThe data source to use for the contents of the track
An error code stating if the source is ready for use for writing the track, or if an error occurred

Definition at line 20 of file source.c.

Referenced by cue_interpret_line(), isoburn_prepare_disc_aux(), and Xorriso_burn_track().