aboutsummaryrefslogtreecommitdiffstats
path: root/cfile.h
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-29 20:53:00 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-29 20:53:00 +0000
commit82e2675f454e81e06360e6b4b3dc40567ae24baf (patch)
tree51eaecc43bdacca02b2bcb9b0bf74a379e6b64bb /cfile.h
parentfb22ecce8dd4bced5f34440066d3590d1e31075a (diff)
Avoid including <wiretap/wtap.h> in dissectors.
svn path=/trunk/; revision=53655
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 */