Debian Codegraph @

Source/crc32.h

raw
1 /*
2 * crc32.h
3 *
4 * This file is a part of NSIS.
5 *
6 * Copyright (C) 1999-2026 Nullsoft and Contributors
7 *
8 * Licensed under the zlib/libpng license (the "License");
9 * you may not use this file except in compliance with the License.
10 *
11 * Licence details can be found in the file COPYING.
12 *
13 * This software is provided 'as-is', without any express or implied
14 * warranty.
15 *
16 * Reviewed for Unicode support by Jim Park -- 08/24/2007
17 */
18
19 #ifndef ___CRC32__H___
20 #define ___CRC32__H___
21
22 #include "Platform.h"
23 #include <stddef.h> // size_t
24
25 typedef UINT32 crc32_t;
26
27 #ifdef __cplusplus
28 extern "C"
29 #endif
30 crc32_t NSISCALL CRC32(crc32_t crc, const unsigned char *buf, size_t len);
31
32 #endif//!___CRC32__H___