"Fossies" - the Fresh Open Source Software Archive

Member "xorriso-1.5.4/libburn/back_hacks.h" (30 Jan 2021, 1712 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 "back_hacks.h" see the Fossies "Dox" file reference documentation.

    1 /**
    2  Copyright (c) 2006 Thomas Schmitt <scdbackup@gmx.net>
    3  Provided under GPL version 2 or later.
    4 
    5  This file bundles variables which disable changes in libburn which are
    6  not yet completely accepted.
    7 
    8  The use of these variables is *strongly discouraged* unless you have sincere
    9  reason and are willing to share your gained knowledge with the libburn
   10  developers.
   11 
   12  Do *not silently rely* on these variables with your application. Tell us
   13  that you needed one or more of them. They are subject to removal as soon
   14  as consense has been found about correctness of the change they revoke.
   15 
   16  Value 0 means that the new behavior is enabled. Any other value enables
   17  the described old time behavior.
   18 
   19  If you doubt one of the changes here broke your application, then do
   20  *in your application*, *not here* :
   21 
   22  -  #include "libburn/back_hacks.h" like you include "libburn/libburn.h"
   23 
   24  -  Set the libburn_back_hack_* variable of your choice to 1. 
   25     In your app. Not here.
   26 
   27  -  Then start and use libburn as usual. Watch out for results.
   28 
   29  -  If you believe to have detected a flaw in our change, come forward
   30     and report it to the libburn developers. Thanks in advance. :)
   31 
   32 */
   33 
   34 /** Do not define this macro in your application. Only libburn/init.c is
   35     entitled to set it.
   36 */ 
   37 #ifdef BURN_BACK_HACKS_INIT
   38 
   39 
   40 /** Corresponds to http://libburn.pykix.org/ticket/42 
   41     Reinstates the old ban not to blank appendable CD-RW. We see no reason
   42     for this ban yet. It appears unusual. But maybe it patches a bug.
   43 */
   44 int libburn_back_hack_42= 0;
   45 
   46 
   47 #else /* BURN_BACK_HACKS_INIT */
   48 
   49 /* Note: no application programmer info beyond this point */
   50 
   51 
   52 extern int libburn_back_hack_42;
   53 
   54 #endif /* ! BURN_BACK_HACKS_INIT */
   55 
   56