##// END OF EJS Templates
rmapplugin compatible with the last version of lppmon
rmapplugin compatible with the last version of lppmon

File last commit:

r62:8490a8b44e9a default
r64:9526cf200fb0 default
Show More
paulcommoncrc.h
25 lines | 555 B | text/x-c | CLexer
#ifndef PAULCOMMONCRC_H
#define PAULCOMMONCRC_H
#include <QObject>
class PaulCommonCRC : public QObject
{
Q_OBJECT
public:
explicit PaulCommonCRC(QObject *parent = 0);
unsigned char calculateDataCRC(char *data, int nbBytes);
void initLookUpTableForCRC( void );
void GetCRCAsTwoBytes(unsigned char* data, unsigned char* crcAsTwoBytes, unsigned int sizeOfData);
unsigned int Crc_opt( unsigned char D, unsigned int Chk);
unsigned int lookUpTableForCRC[256];
signals:
public slots:
};
#endif // PAULCOMMONCRC_H