aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2010-10-20 01:15:12 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2010-10-20 01:15:12 +0000
commit5e8abca9ffef6f25a6e01c4dd14da37e18410e25 (patch)
treee9368369f910d277cf939f2e93788c6e0251968e /wiretap
parent97336f719da1e75ea5b0d5f4c31cb6d4272e56df (diff)
From Hadriel Kaplan: Update wiretap/README.developer
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34578 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/README.developer8
1 files changed, 7 insertions, 1 deletions
diff --git a/wiretap/README.developer b/wiretap/README.developer
index 2b2ef16715..18039be984 100644
--- a/wiretap/README.developer
+++ b/wiretap/README.developer
@@ -60,7 +60,10 @@ will read. If the capture records consist of:
then data_offset should point to the pseudo-header. The first
sequential read pass will process and store the capture record header
-data, but it will not store the pseudo-header.
+data, but it will not store the pseudo-header. Note that the
+seek_and_read routine should work with the "random_fh" file handle
+of the passed in wtap struct, instead of the "fh" file habndle used
+in the normal read routine.
To add the ability to write a new capture file format, you have to:
@@ -84,3 +87,6 @@ To add the ability to write a new capture file format, you have to:
put pointers to the "can_write_encap" and "dump_open" routines
in the "dump_open_table_base[]" entry for that file type.
+
+In the wiretap directory, add your source file to CMakelists.txt and
+your source and header file to Makefile.common.