gatt-database: Add OCF service handling logic
[platform/upstream/bluez.git] / monitor / crc.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 /*
3  *
4  *  BlueZ - Bluetooth protocol stack for Linux
5  *
6  *  Copyright (C) 2011-2014  Intel Corporation
7  *  Copyright (C) 2002-2010  Marcel Holtmann <marcel@holtmann.org>
8  *
9  *
10  */
11
12 #include <stdint.h>
13
14 uint32_t crc24_bit_reverse(uint32_t value);
15
16 uint32_t crc24_calculate(uint32_t preset, const uint8_t *data, uint8_t len);
17 uint32_t crc24_reverse(uint32_t crc, const uint8_t *data, uint8_t len);