You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.7 KiB

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