/* cfile.h
* capture_file definition & GUI-independent manipulation
*
- * $Id$
- *
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
#ifndef __CFILE_H__
#define __CFILE_H__
+#include <epan/epan.h>
+#include <epan/column-info.h>
#include <epan/dfilter/dfilter.h>
#include <epan/frame_data.h>
#include <epan/frame_data_sequence.h>
+#include <wiretap/wtap.h>
#ifdef __cplusplus
extern "C" {
SD_BACKWARD
} search_direction;
+#ifdef WANT_PACKET_EDITOR
+/* XXX, where this struct should go? */
+typedef struct {
+ struct wtap_pkthdr phdr; /**< Modified packet header */
+ char *pd; /**< Modified packet data */
+} modified_frame_data;
+#endif
+
typedef struct _capture_file {
epan_t *epan;
file_state state; /* Current state of capture file */