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.

44 lines
1.3 KiB

15 years ago
15 years ago
15 years ago
  1. /* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */
  2. /* Copyright (c) 2004 - 2006 Derek Foreman, Ben Jansens
  3. Copyright (c) 2006 - 2010 Thomas Schmitt <scdbackup@gmx.net>
  4. Provided under GPL version 2 or later.
  5. */
  6. #ifndef __SECTOR
  7. #define __SECTOR
  8. #include "libburn.h"
  9. #include "transport.h"
  10. struct burn_drive;
  11. struct isrc;
  12. int dec_to_bcd(int);
  13. int sector_toc(struct burn_write_opts *, int mode);
  14. int sector_pregap(struct burn_write_opts *, unsigned char tno,
  15. unsigned char control, int mode);
  16. int sector_postgap(struct burn_write_opts *, unsigned char tno,
  17. unsigned char control, int mode);
  18. int sector_lout(struct burn_write_opts *, unsigned char control, int mode);
  19. int sector_data(struct burn_write_opts *, struct burn_track *t, int psub);
  20. /* ts B20113 */
  21. int sector_write_buffer(struct burn_drive *d,
  22. struct burn_track *track, int flag);
  23. /* ts A61009 */
  24. int sector_headers_is_ok(struct burn_write_opts *o, int mode);
  25. int sector_headers(struct burn_write_opts *, unsigned char *,
  26. int mode, int leadin);
  27. void subcode_user(struct burn_write_opts *, unsigned char *s,
  28. unsigned char tno, unsigned char control,
  29. unsigned char index, struct isrc *isrc, int psub);
  30. int sector_identify(unsigned char *);
  31. void process_q(struct burn_drive *d, unsigned char *q);
  32. #endif /* __SECTOR */