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)  

sbc.c File Reference
#include <string.h>
#include <unistd.h>
#include "transport.h"
#include "sbc.h"
#include "spc.h"
#include "options.h"
Include dependency graph for sbc.c:

Go to the source code of this file.

Functions

int mmc_function_spy (struct burn_drive *d, char *text)
 
void sbc_load (struct burn_drive *d)
 
void sbc_eject (struct burn_drive *d)
 
int sbc_start_unit_flag (struct burn_drive *d, int flag)
 
int sbc_start_unit (struct burn_drive *d)
 
int sbc_stop_unit (struct burn_drive *d)
 
int sbc_setup_drive (struct burn_drive *d)
 

Variables

static unsigned char SBC_LOAD [] = { 0x1b, 0, 0, 0, 3, 0 }
 
static unsigned char SBC_UNLOAD [] = { 0x1b, 0, 0, 0, 2, 0 }
 
static unsigned char SBC_START_UNIT [] = { 0x1b, 0, 0, 0, 1, 0 }
 
static unsigned char SBC_STOP_UNIT [] = { 0x1b, 0, 0, 0, 0, 0 }
 

Function Documentation

◆ mmc_function_spy()

int mmc_function_spy ( struct burn_drive d,
char *  text 
)

Definition at line 267 of file mmc.c.

Referenced by sbc_eject(), sbc_load(), sbc_start_unit_flag(), and sbc_stop_unit().

◆ sbc_eject()

◆ sbc_load()

◆ sbc_setup_drive()

◆ sbc_start_unit()

int sbc_start_unit ( struct burn_drive d)

Definition at line 133 of file sbc.c.

References burn_drive::is_stopped, and sbc_start_unit_flag().

Referenced by sbc_setup_drive().

◆ sbc_start_unit_flag()

◆ sbc_stop_unit()

Variable Documentation

◆ SBC_LOAD

unsigned char SBC_LOAD[] = { 0x1b, 0, 0, 0, 3, 0 }
static

Definition at line 50 of file sbc.c.

Referenced by sbc_load().

◆ SBC_START_UNIT

unsigned char SBC_START_UNIT[] = { 0x1b, 0, 0, 0, 1, 0 }
static

Definition at line 52 of file sbc.c.

Referenced by sbc_start_unit_flag().

◆ SBC_STOP_UNIT

unsigned char SBC_STOP_UNIT[] = { 0x1b, 0, 0, 0, 0, 0 }
static

Definition at line 53 of file sbc.c.

Referenced by sbc_stop_unit().

◆ SBC_UNLOAD

unsigned char SBC_UNLOAD[] = { 0x1b, 0, 0, 0, 2, 0 }
static

Definition at line 51 of file sbc.c.

Referenced by sbc_eject().