summaryrefslogtreecommitdiff
path: root/include_protected/crc32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include_protected/crc32.h')
-rw-r--r--include_protected/crc32.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/include_protected/crc32.h b/include_protected/crc32.h
new file mode 100644
index 0000000..781e7eb
--- /dev/null
+++ b/include_protected/crc32.h
@@ -0,0 +1,40 @@
+#ifndef CRC32_H
+#define CRC32_H
+
+/******************************************************************************
+ * Project Persistency
+ * (c) copyright 2012
+ * Company XS Embedded GmbH
+ *****************************************************************************/
+/******************************************************************************
+ * Copyright
+ *
+ * This Source Code Form is subject to the terms of the
+ * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed
+ * with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+******************************************************************************/
+ /**
+ * @file crc32.h
+ * @ingroup Persistence client library
+ * @author Ingo Huerner
+ * @brief Header of crc32 checksum generation
+ * @see
+ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+#define PERSIST_CLIENT_LIBRARY_INTERFACE_VERSION (0x01000000U)
+
+#include <string.h>
+
+const unsigned int crc32(unsigned int crc, const unsigned char *buf, size_t theSize);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* CRC32_H */