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)  

back_hacks.h
Go to the documentation of this file.
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 */
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 
int libburn_back_hack_42