aboutsummaryrefslogtreecommitdiffstats
path: root/cfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'cfile.h')
-rw-r--r--cfile.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cfile.h b/cfile.h
index b791235b61..ebaf3c8fa9 100644
--- a/cfile.h
+++ b/cfile.h
@@ -28,6 +28,7 @@
#include <epan/dfilter/dfilter.h>
#include <epan/frame_data.h>
#include <epan/frame_data_sequence.h>
+#include <wiretap/wtap.h>
#ifdef __cplusplus
extern "C" {
@@ -54,6 +55,14 @@ typedef enum {
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 */