Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
bitswap.h
1 /* bitswap.h
2  * Macro to bitswap a byte by looking it up in a table
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 __BITSWAP_H__
12 #define __BITSWAP_H__
13 
14 #include "ws_symbol_export.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif /* __cplusplus */
19 
20 WS_DLL_PUBLIC void bitswap_buf_inplace(guint8 *buf, size_t len);
21 
22 #ifdef __cplusplus
23 }
24 #endif /* __cplusplus */
25 
26 #endif /* bitswap.h */