2013-07-11 05:47:02 +00:00
|
|
|
/* frame_tvbuff.h
|
|
|
|
* Implements a tvbuff for frame
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2018-02-07 11:26:45 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2013-07-11 05:47:02 +00:00
|
|
|
*/
|
|
|
|
|
2013-08-10 21:32:32 +00:00
|
|
|
#ifndef __FRAME_TVBUFF_H__
|
2013-07-11 05:47:02 +00:00
|
|
|
#define __FRAME_TVBUFF_H__
|
|
|
|
|
2017-12-08 08:30:55 +00:00
|
|
|
#include "cfile.h"
|
|
|
|
|
|
|
|
#include <wiretap/wtap.h>
|
|
|
|
|
2013-07-11 05:47:02 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2017-12-08 08:30:55 +00:00
|
|
|
extern tvbuff_t *frame_tvbuff_new(const struct packet_provider_data *prov,
|
|
|
|
const frame_data *fd, const guint8 *buf);
|
2013-07-11 05:47:02 +00:00
|
|
|
|
2017-12-08 08:30:55 +00:00
|
|
|
extern tvbuff_t *frame_tvbuff_new_buffer(const struct packet_provider_data *prov,
|
|
|
|
const frame_data *fd, Buffer *buf);
|
2013-07-11 05:47:02 +00:00
|
|
|
|
2017-12-08 08:30:55 +00:00
|
|
|
extern tvbuff_t *file_tvbuff_new(const struct packet_provider_data *prov,
|
|
|
|
const frame_data *fd, const guint8 *buf);
|
2014-01-08 04:35:28 +00:00
|
|
|
|
2017-12-08 08:30:55 +00:00
|
|
|
extern tvbuff_t *file_tvbuff_new_buffer(const struct packet_provider_data *prov,
|
|
|
|
const frame_data *fd, Buffer *buf);
|
2014-01-08 04:35:28 +00:00
|
|
|
|
2013-07-11 05:47:02 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2014-10-14 19:58:21 +00:00
|
|
|
#endif /* __FRAME_TVBUFF_H__ */
|
|
|
|
|
2014-10-12 18:56:12 +00:00
|
|
|
/*
|
|
|
|
* 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:
|
|
|
|
*/
|