ISIS(-lsp): Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
[metze/wireshark/wip.git] / frame_tvbuff.h
1 /* frame_tvbuff.h
2  * Implements a tvbuff for frame
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 __FRAME_TVBUFF_H__
12 #define __FRAME_TVBUFF_H__
13
14 #include "cfile.h"
15
16 #include <wiretap/wtap.h>
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif /* __cplusplus */
21
22 extern tvbuff_t *frame_tvbuff_new(const struct packet_provider_data *prov,
23     const frame_data *fd, const guint8 *buf);
24
25 extern tvbuff_t *frame_tvbuff_new_buffer(const struct packet_provider_data *prov,
26     const frame_data *fd, Buffer *buf);
27
28 extern tvbuff_t *file_tvbuff_new(const struct packet_provider_data *prov,
29     const frame_data *fd, const guint8 *buf);
30
31 extern tvbuff_t *file_tvbuff_new_buffer(const struct packet_provider_data *prov,
32     const frame_data *fd, Buffer *buf);
33
34 #ifdef __cplusplus
35 }
36 #endif /* __cplusplus */
37
38 #endif /* __FRAME_TVBUFF_H__ */
39
40 /*
41  * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
42  *
43  * Local variables:
44  * c-basic-offset: 8
45  * tab-width: 8
46  * indent-tabs-mode: t
47  * End:
48  *
49  * vi: set shiftwidth=8 tabstop=8 noexpandtab:
50  * :indentSize=8:tabSize=8:noTabs=false:
51  */