"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
Alternatively you can here view
the uninterpreted source code file.
For more information about "back_hacks.h" see the Fossies "Dox" file reference
2 Copyright (c) 2006 Thomas Schmitt <email@example.com>
3 Provided under GPL version 2 or later.
5 This file bundles variables which disable changes in libburn which are
6 not yet completely accepted.
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
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.
16 Value 0 means that the new behavior is enabled. Any other value enables
17 the described old time behavior.
19 If you doubt one of the changes here broke your application, then do
20 *in your application*, *not here* :
22 - #include "libburn/back_hacks.h" like you include "libburn/libburn.h"
24 - Set the libburn_back_hack_* variable of your choice to 1.
25 In your app. Not here.
27 - Then start and use libburn as usual. Watch out for results.
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. :)
34 /** Do not define this macro in your application. Only libburn/init.c is
35 entitled to set it.
37 #ifdef BURN_BACK_HACKS_INIT
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.
44 int libburn_back_hack_42= 0;
47 #else /* BURN_BACK_HACKS_INIT */
49 /* Note: no application programmer info beyond this point */
52 extern int libburn_back_hack_42;
54 #endif /* ! BURN_BACK_HACKS_INIT */