Wireshark
4.3.0
The Wireshark network protocol analyzer
wsutil
codecs_priv.h
Go to the documentation of this file.
1
11
#ifndef _CODECS_INT_H_
12
#define _CODECS_INT_H_
13
14
#include "
codecs.h
"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
/* __cplusplus */
19
20
struct
codec_handle
;
21
typedef
struct
codec_handle
*
codec_handle_t
;
22
23
WS_DLL_PUBLIC
bool
deregister_codec(
const
char
*name);
24
25
WS_DLL_PUBLIC
codec_handle_t
find_codec(
const
char
*name);
26
27
WS_DLL_PUBLIC
void
*codec_init(
codec_handle_t
codec,
codec_context_t
*context);
28
29
WS_DLL_PUBLIC
void
codec_release(
codec_handle_t
codec,
codec_context_t
*context);
30
31
WS_DLL_PUBLIC
unsigned
codec_get_channels(
codec_handle_t
codec,
codec_context_t
*context);
32
33
WS_DLL_PUBLIC
unsigned
codec_get_frequency(
codec_handle_t
codec,
codec_context_t
*context);
34
35
WS_DLL_PUBLIC
size_t
codec_decode(
codec_handle_t
codec,
codec_context_t
*context,
36
const
void
*inputBytes,
size_t
inputBytesSize,
37
void
*outputSamples,
size_t
*outputSamplesSize);
38
42
WS_DLL_PUBLIC
void
codecs_init
(
void
);
43
44
WS_DLL_PUBLIC
void
codecs_cleanup(
void
);
45
46
#ifdef __cplusplus
47
}
48
#endif
/* __cplusplus */
49
50
#endif
/* _CODECS_INT_H_ */
51
52
/*
53
* Editor modelines - https://www.wireshark.org/tools/modelines.html
54
*
55
* Local variables:
56
* c-basic-offset: 4
57
* tab-width: 8
58
* indent-tabs-mode: nil
59
* End:
60
*
61
* vi: set shiftwidth=4 tabstop=8 expandtab:
62
* :indentSize=4:tabSize=8:noTabs=true:
63
*/
codecs.h
codecs_init
WS_DLL_PUBLIC void codecs_init(void)
Definition:
codecs.c:54
_codec_context_t
Definition:
codecs.h:39
codec_handle
Definition:
codecs.c:74
Generated by
1.9.1