nxdrvlinux/libcifx/Toolkit/Source/Hilcrc32.h
Sebastian Doell ac2f4d1789 Add initial driver source based on svn versions:
- toolkit V2.8.0.1@14806
 - BSL V1.8.0.0@14590
 - tcpserver: V1.4.3.0@14676 (marshaller V2.4.0.1@14551)
2024-02-05 09:23:09 +01:00

36 lines
990 B
C

/**************************************************************************************
Copyright (c) Hilscher Gesellschaft fuer Systemautomation mbH. All Rights Reserved.
***************************************************************************************
$Id: Hilcrc32.h 14199 2021-09-03 11:11:45Z RMayer $:
Description:
CRC32 function definition
Changes:
Date Description
-----------------------------------------------------------------------------------
2021-09-01 - Created a separate function module
**************************************************************************************/
#ifndef HILCRC32_INCLUDED
#define HILCRC32_INCLUDED
#include <stdint.h> /*lint !e537 !e451 */
#ifdef __cplusplus
extern "C"
{
#endif
/* Create a continued CRC32 value. Start with ulCRC = 0. */
uint32_t CreateCRC32(uint32_t ulCRC, uint8_t* pabBuffer, uint32_t ulLength);
#ifdef __cplusplus
} /* end extern "C" */
#endif
#endif /* HILCRC32_INCLUDED */