"Fossies" - the Fresh Open Source Software Archive

Member "xorriso-1.5.4/libburn/sector.h" (30 Jan 2021, 1336 Bytes) of package /linux/misc/xorriso-1.5.4.pl02.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "sector.h" see the Fossies "Dox" file reference documentation.

    1 /* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */
    2 
    3 /* Copyright (c) 2004 - 2006 Derek Foreman, Ben Jansens
    4    Copyright (c) 2006 - 2010 Thomas Schmitt <scdbackup@gmx.net>
    5    Provided under GPL version 2 or later.
    6 */
    7 
    8 #ifndef __SECTOR
    9 #define __SECTOR
   10 
   11 #include "libburn.h"
   12 #include "transport.h"
   13 
   14 struct burn_drive;
   15 struct isrc;
   16 
   17 int dec_to_bcd(int);
   18 
   19 int sector_toc(struct burn_write_opts *, int mode);
   20 int sector_pregap(struct burn_write_opts *, unsigned char tno,
   21            unsigned char control, int mode);
   22 int sector_postgap(struct burn_write_opts *, unsigned char tno,
   23             unsigned char control, int mode);
   24 int sector_lout(struct burn_write_opts *, unsigned char control, int mode);
   25 int sector_data(struct burn_write_opts *, struct burn_track *t, int psub);
   26 
   27 /* ts B20113 */
   28 int sector_write_buffer(struct burn_drive *d,
   29             struct burn_track *track, int flag);
   30 
   31 /* ts A61009 */
   32 int sector_headers_is_ok(struct burn_write_opts *o, int mode);
   33 
   34 int sector_headers(struct burn_write_opts *, unsigned char *,
   35             int mode, int leadin);
   36 void subcode_user(struct burn_write_opts *, unsigned char *s,
   37           unsigned char tno, unsigned char control,
   38           unsigned char index, struct isrc *isrc, int psub);
   39 
   40 int sector_identify(unsigned char *);
   41 
   42 void process_q(struct burn_drive *d, unsigned char *q);
   43 
   44 #endif /* __SECTOR */