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