1 /* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */ 2 3 /* Copyright (c) 2004 - 2006 Derek Foreman, Ben Jansens 4 Copyright (c) 2012 Thomas Schmitt <scdbackup@gmx.net> 5 Provided under GPL version 2 or later. 6 */ 7 #ifndef BURN__CRC_H 8 #define BURN__CRC_H 9 10 11 #ifdef Xorriso_standalonE 12 /* Source module crc.c of yet unclear ancestry is excluded from GNU xorriso */ 13 /* ts B20219 : The functions have been re-implemented from scratch after 14 studying texts about CRC computation and understanding the 15 meaning of the underlying ECMA-130 specs. 16 Nevertheless, there is no need to include them into xorriso 17 because it does neither CD-TEXT nor raw CD writing. 18 */ 19 #ifndef Libburn_no_crc_C 20 #define Libburn_no_crc_C 1 21 #endif 22 #endif 23 24 25 #ifndef Libburn_no_crc_C 26 27 unsigned short crc_ccitt(unsigned char *, int len); 28 unsigned int crc_32(unsigned char *, int len); 29 30 #endif /* Libburn_no_crc_C */ 31 32 33 #endif /* BURN__CRC_H */