Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
crc10.h
1 /*
2  * crc10.h
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __CRC10_H__
12 #define __CRC10_H__
13 
14 #include "ws_symbol_export.h"
15 
16 /* Update the data block's CRC-10 remainder one byte at a time */
17 WS_DLL_PUBLIC guint16 update_crc10_by_bytes(guint16 crc10, const guint8 *data_blk_ptr, int data_blk_size);
18 
19 #endif /* __CRC10_H__ */