Revert "UNUSED enc_key_id_{equal,hash}"
[wireshark-sm.git] / frame_tvbuff.h
bloba3b1fa4969c6b0f3918caf1ea18f4c0d9d6d11f5
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 uint8_t *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 uint8_t *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__ */