diff options
author | Manuel Bentele | 2020-10-16 17:15:49 +0200 |
---|---|---|
committer | Manuel Bentele | 2020-10-16 17:15:49 +0200 |
commit | 969496f15e1e0359e26c2c6e995ad4ef82720f86 (patch) | |
tree | 358466216630eb10e8ee91b9ede490424f6db848 /inc/dnbd3/shared/crc32.h | |
parent | [FUSE] turn on compiler optimization to fix warning (diff) | |
download | dnbd3-969496f15e1e0359e26c2c6e995ad4ef82720f86.tar.gz dnbd3-969496f15e1e0359e26c2c6e995ad4ef82720f86.tar.xz dnbd3-969496f15e1e0359e26c2c6e995ad4ef82720f86.zip |
[BUILD] rewrite CMake build system to track changes of source files
This change restructures the source code directories, separates shared
form non-shared application code and adds CMake dependencies. These
dependencies allow the tracking of changes and trigger a rebuild of
those build targets where changed files are involved.
WARNING: Note that the support of the DNBD3_SERVER_AFL build option is
not supported yet. Thus, the option should be never turned on.
Diffstat (limited to 'inc/dnbd3/shared/crc32.h')
-rw-r--r-- | inc/dnbd3/shared/crc32.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/dnbd3/shared/crc32.h b/inc/dnbd3/shared/crc32.h new file mode 100644 index 0000000..00b8bdd --- /dev/null +++ b/inc/dnbd3/shared/crc32.h @@ -0,0 +1,9 @@ +#ifndef _CRC32_H_ +#define _CRC32_H_ + +#include <stdint.h> + +uint32_t crc32(uint32_t crc, const uint8_t *buf, size_t len); + +#endif + |