All pastes #391892 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-12 14:39 UTC
rendered paste body
//
// fisier crc.h
//
// contine directivele si definitiile utile programelor
// de calcul al codului de control ciclic CRC-CCITT
//

#define CRCCCITT 0x1021

#include <stdio.h>
#include <stdlib.h>

typedef unsigned short int word;
typedef unsigned char byte;

word calculcrc (word, word, word);
word* tabelcrc (word);