replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later.
[metze/wireshark/wip.git] / wsutil / g711.h
1 /*
2  * g711.h
3  *
4  * Definitions for routines for u-law, A-law and linear PCM conversions
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * SPDX-License-Identifier: GPL-2.0-or-later
11  */
12
13 #ifndef __G711_H__
14 #define __G711_H__
15
16 #include "ws_symbol_export.h"
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif /* __cplusplus */
21
22 WS_DLL_PUBLIC unsigned char linear2alaw( int );
23 WS_DLL_PUBLIC int alaw2linear( unsigned char );
24 WS_DLL_PUBLIC unsigned char linear2ulaw( int );
25 WS_DLL_PUBLIC int ulaw2linear( unsigned char );
26
27 #ifdef __cplusplus
28 }
29 #endif /* __cplusplus */
30
31 #endif /* __G711_H__ */