zlib-ng2: add DLL to NSIS and WIX installers
[wireshark.git] / frame_tvbuff.h
blob3f377c13d4862f3d20e50281411c531f82f75c20
1 /** @file
3 * Implements a tvbuff for frame
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __FRAME_TVBUFF_H__
13 #define __FRAME_TVBUFF_H__
15 #include "cfile.h"
17 #include <wiretap/wtap.h>
19 #ifdef __cplusplus
20 extern "C" {
21 #endif /* __cplusplus */
23 extern tvbuff_t *frame_tvbuff_new(const struct packet_provider_data *prov,
24 const frame_data *fd, const guint8 *buf);
26 extern tvbuff_t *frame_tvbuff_new_buffer(const struct packet_provider_data *prov,
27 const frame_data *fd, Buffer *buf);
29 extern tvbuff_t *file_tvbuff_new(const struct packet_provider_data *prov,
30 const frame_data *fd, const guint8 *buf);
32 extern tvbuff_t *file_tvbuff_new_buffer(const struct packet_provider_data *prov,
33 const frame_data *fd, Buffer *buf);
35 #ifdef __cplusplus
37 #endif /* __cplusplus */
39 #endif /* __FRAME_TVBUFF_H__ */