"Fossies" - the Fresh Open Source Software Archive

Member "xorriso-1.5.4/libburn/write.h" (30 Jan 2021, 2098 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 "write.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 
    9 #ifndef BURN__WRITE_H
   10 #define BURN__WRITE_H
   11 
   12 struct cue_sheet;
   13 struct burn_session;
   14 struct burn_write_opts;
   15 struct burn_disc;
   16 
   17 struct cue_sheet *burn_create_toc_entries(struct burn_write_opts *o,
   18                       struct burn_session *session,
   19                       int nwa);
   20 int burn_sector_length(int trackmode);
   21 int burn_subcode_length(int trackmode);
   22 
   23 /* ts A61009 */
   24 int burn_disc_write_is_ok(struct burn_write_opts *o, struct burn_disc *disc,
   25             int flag);
   26 
   27 void burn_disc_write_sync(struct burn_write_opts *o, struct burn_disc *disc);
   28 int burn_write_leadin(struct burn_write_opts *o,
   29                struct burn_session *s, int first);
   30 int burn_write_leadout(struct burn_write_opts *o,
   31             int first, unsigned char control, int mode);
   32 int burn_write_session(struct burn_write_opts *o, struct burn_session *s);
   33 int burn_write_track(struct burn_write_opts *o, struct burn_session *s,
   34               int tnum);
   35 int burn_write_flush(struct burn_write_opts *o, struct burn_track *track);
   36 
   37 /* ts A61030 : necessary for TAO */
   38 int burn_write_close_track(struct burn_write_opts *o, struct burn_session *s,
   39                            int tnum);
   40 int burn_write_close_session(struct burn_write_opts *o);
   41 
   42 /* @param flag bit0= repair checksum   
   43                bit1= repair checksum if all pack CRCs are 0
   44    @return 0= no mismatch , >0 number of unrepaired mismatches
   45                             <0 number of repaired mismatches
   46 */
   47 int burn_cdtext_crc_mismatches(unsigned char *packs, int num_packs, int flag);
   48 
   49 
   50 
   51 /* mmc5r03c.pdf 6.3.3.3.3: DVD-R DL: Close Function 010b: Close Session
   52      "When the recording mode is Incremental Recording,
   53       the disc is single session."
   54    Enable this macro to get away from growisofs which uses Close Session
   55    but also states "// DVD-R DL Seq has no notion of multi-session".
   56 
   57      #define Libburn_dvd_r_dl_multi_no_close_sessioN 1
   58 
   59 */
   60 
   61 #endif /* BURN__WRITE_H */