forked from osmocom/wireshark
![Dario Lombardo](/assets/img/avatar_default.png)
The first is deprecated, as per https://spdx.org/licenses/. Change-Id: I8e21e1d32d09b8b94b93a2dc9fbdde5ffeba6bed Reviewed-on: https://code.wireshark.org/review/25661 Petri-Dish: Anders Broman <a.broman58@gmail.com> Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
52 lines
1.2 KiB
C
52 lines
1.2 KiB
C
/* frame_tvbuff.h
|
|
* Implements a tvbuff for frame
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef __FRAME_TVBUFF_H__
|
|
#define __FRAME_TVBUFF_H__
|
|
|
|
#include "cfile.h"
|
|
|
|
#include <wiretap/wtap.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
extern tvbuff_t *frame_tvbuff_new(const struct packet_provider_data *prov,
|
|
const frame_data *fd, const guint8 *buf);
|
|
|
|
extern tvbuff_t *frame_tvbuff_new_buffer(const struct packet_provider_data *prov,
|
|
const frame_data *fd, Buffer *buf);
|
|
|
|
extern tvbuff_t *file_tvbuff_new(const struct packet_provider_data *prov,
|
|
const frame_data *fd, const guint8 *buf);
|
|
|
|
extern tvbuff_t *file_tvbuff_new_buffer(const struct packet_provider_data *prov,
|
|
const frame_data *fd, Buffer *buf);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __FRAME_TVBUFF_H__ */
|
|
|
|
/*
|
|
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
|
*
|
|
* Local variables:
|
|
* c-basic-offset: 8
|
|
* tab-width: 8
|
|
* indent-tabs-mode: t
|
|
* End:
|
|
*
|
|
* vi: set shiftwidth=8 tabstop=8 noexpandtab:
|
|
* :indentSize=8:tabSize=8:noTabs=false:
|
|
*/
|