Mercury
mchecksum_crc16.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 Argonne National Laboratory, Department of Energy,
3  *                    UChicago Argonne, LLC and The HDF Group.
4  * All rights reserved.
5  *
6  * The full copyright notice, including terms governing use, modification,
7  * and redistribution, is contained in the COPYING file that can be
8  * found at the root of the source code distribution tree.
9  */
10 
11 #ifndef MCHECKSUM_CRC16_H
12 #define MCHECKSUM_CRC16_H
13 
14 #include "mchecksum_private.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
27 MCHECKSUM_EXPORT int
28 mchecksum_crc16_init(struct mchecksum_class *checksum_class);
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif /* MCHECKSUM_CRC16_H */
MCHECKSUM_EXPORT int mchecksum_crc16_init(struct mchecksum_class *checksum_class)
Initialize the checksum with the CRC16 hash method.