update epan/dissectors/pidl/drsuapi/drsuapi.idl from samba
[wireshark-sm.git] / wsutil / crc10.h
blob9ff5322a6f70737a765a21f66c04ae8126ec0b2e
1 /** @file
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
10 #ifndef __CRC10_H__
11 #define __CRC10_H__
13 #include <wireshark.h>
15 /* Update the data block's CRC-10 remainder one byte at a time */
16 WS_DLL_PUBLIC uint16_t update_crc10_by_bytes(uint16_t crc10, const uint8_t *data_blk_ptr, int data_blk_size);
18 #endif /* __CRC10_H__ */