legacy/libburn/trunk/libburn/crc.h

34 lines
974 B
C
Raw Normal View History

2006-10-30 05:32:33 +00:00
/* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */
/* 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
#ifdef Xorriso_standalonE
2010-02-15 12:57:38 +00:00
/* Source module crc.c of yet unclear ancestry is excluded from GNU xorriso */
/* 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.
*/
#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);
#endif /* Libburn_no_crc_C */
2006-10-30 05:32:33 +00:00
#endif /* BURN__CRC_H */